At 2:17 PM -0400 9/17/05, Laurie Harper wrote:
On a slight tangent, what happens if you're using wild-card action mapping paths? When Struts matches URLs against mapping paths the last match wins, which means you have to be careful about the order you define your actions in. In my application I have a general 'catch-all' mapping with the path '/**' listed first and another with the path '/**/' which simply redirects to '/{1}' (i.e. strips the trailing '/') which, of course, has to be listed last.

If I break up my struts-config.xml into multiple files I suspect I'm going to have some problems with this ;-)

Actually, it should be determinate, in for a single module, Struts processes the config files in the order in which they are specified in the servlet init parameter.

It still might be confusing, but it should be determinate!

Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex

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

Reply via email to