Thanks! I very well could have missed it. Midnight programming lends
itself to that. Anyway, now I know, so it's not that big of a deal.
Thanks for the response.

Eric Buitenhuis

On 7/10/07, Ted Husted <[EMAIL PROTECTED]> wrote:
Yes, as the bootstrap tutorial mentions, the first mapping that
matches wins. I edited the note to add more emphasis to *first* and to
specifically mention the name="*" case.  Thanks for the heads-up!

-Ted.

On 7/5/07, Eric Buitenhuis <[EMAIL PROTECTED]> wrote:
> Using the wildcards I had a bit of a problem that turned out to be solved by
> ordering the <action> tags correctly in the struts.xml. What was happening
> was, if I put the <action name="*" class="tutorial.TutorialSupport"> tag
> first, I could not access the <action name="Login_*" method="{1}" class="
> tutorial.Login"> action (note: in my case I changed the "Logon" to "Login"
> just out of personal preference). I would get an exception saying
> Login_input.action could not be found. When I changed the struts.xml file to
> have the <action name="*" class="tutorial.TutorialSupport"> last, everything
> worked fine.
>
> I'm not sure if this is a bug in my setup or just the way Struts2 is. If it
> is the latter, perhaps you could note this in the tutorial to alert others
> who may have the same problem. If it is the former, what the heck, man?
>
> Again, thanks for the hard work!
>
> Eric Buitenhuis
>


--
HTH, Ted <http://www.husted.com/ted/blog/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to