Andy Sykes wrote:
I can't see anywhere in the documentation (I've only had a quick skim of it) that says not mapping the Struts dispatcher to /* can be dangerous.. the only example I can see is if you're using Struts interceptors/actions for webapp security - in which case hitting a servlet directly might mean there's no session information to validate the user. That's a trivial matter, though.

I routinely map the Struts dispatcher filter to a set of URLs, usually when I'm mixing Struts actions with servlets like yourself.

Just map the dispatcher where you need it.

If you're not using the Struts CSS or JavaScript then the filter can be mapped to whatever you want.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to