This week's book giveaway is in the Performance forum. We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line! See this thread for details.
Im using struts 2 and have all my actions mapped to the url pattern "/*" and using sitemesh and acegi-security.
The problem im having is that both sitemesh and acegi-security rely on the url to be specific whereas the way i have my struts actions mapped means they can have any prefix. eg. say i have the struts action: doSomethingSecure.action in /secure/. It would be linked normally by /secure/doSomethingSecure.action, but it also does the same thing as /doSomethingSecure.action (without the /secure/ prefix) which means sitemesh and acegi-security wont do their stuff on it?
My main concern is with acegi-not doing a security check, and whether there is someway to fix the actions url to have a specific url?
And in struts.xml i have <package name="default" extends="struts-default"> Does anyone know what that line means? I wasnt able to find any documentation on it, so any help is appreciated.