Re: Struts2 static content

2009-06-23 Thread rtd
Musachy Barroso wrote: > > serving static content with struts 2 is probably not a good idea > (performance and security wise) > Can you expand upon that thought? At first blush, it strikes me as an over-generalization, but I'm always interested in learning. -- View this message in context: h

Re: Struts2 static content

2009-06-23 Thread rtd
Musachy Barroso wrote: > > serving static content with struts 2 is probably not a good idea > (performance and security wise) > Can you expand upon that thought? At first blush, it strikes me as an over-generalization, but I'm always interested in learning. -- View this message in context: h

Re: Struts2 static content

2009-06-22 Thread rtd
It took me some time to solve this, so I thought I'd share. My immediate need was to serve css, but static html, js, etc. could be done similarly. Also, I happen to have two namespaces in my struts2 app for security, which isn't really important here, except that it demonstrates how to serve s