struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Germuska <>
Subject Re: Multiple Struts Config / Multiple Validator Config
Date Sat, 17 Sep 2005 20:34:54 GMT
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 Germuska       
"Narrow minds are weapons made for mass destruction"  -The Ex

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message