[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-user
Subject: Re: Actions with wildcards
From: Joe Germuska <Joe () Germuska ! com>
Date: 2005-04-30 16:19:56
Message-ID: a0621020bbe99603e1636 () [192 ! 168 ! 2 ! 102]
[Download RAW message or body]
At 6:05 AM -0700 4/30/05, rmanchu wrote:
>Joe Germuska wrote:
>
>>You'll see that it goes through all of its configs before
>>returning, which means that the last match should win. It's not
>>explicitly documented as such in the JavaDoc.
>>
>>Hope that helps.
>>
>>Joe
>
>thanx joe. ok i guess that means and intelligent ordering of the
>actions should get struts to call the required action that I want
>right?
>
>but as there is not policy that states/guarantees this (what if the
>implementation changes?) its best not use it this way?
It seems appropriate that the behavior should be deterministic. I'd
suggest filing an enhancement Bugzilla ticket asking for a formal
documentation/verification/decision about the behavior. I doubt we'd
intentionally change it anyway, since there's a strong commitment to
compatibility, but if it were added to the JavaDoc and the user
guide, that would reinforce the "contract".
http://issues.apache.org/bugzilla/enter_bug.cgi?product=Struts
Best,
Joe
--
Joe Germuska
Joe@Germuska.com
http://blog.germuska.com
"Narrow minds are weapons made for mass destruction" -The Ex
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic