Re: [S2] Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-28 Thread Musachy Barroso
I don't think so, if you set it to false, I think you will have to unzip all the dojo, and templates stuff into that folder, which is not desirable (unless you want to use your own version of Dojo) musachy On 2/28/07, Tim Azzopardi <[EMAIL PROTECTED]> wrote: I think that the struts2 FAQ is he

Re: [S2] Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-28 Thread Tim Azzopardi
I think that the struts2 FAQ is here http://struts.apache.org/2.0.6/docs/faqs.html I couldn't find anything relevant (after 3 mins). But in http://struts.apache.org/2.x/docs/strutsproperties.html i saw this: ### Used by FilterDispatcher ### If true then Struts serves static content from inside

Re: [S2] Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread mraible
I came up with a StaticFilter (from http://issues.appfuse.org/browse/APF-431) that seems to work (see code below). However, it causes another issue for me. In my SiteMesh decorator, I'm including a messages.jsp that has calls to the valueStack: <%-- ActionError Messages - usually set in Actions

Re: [S2] Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread mraible
Right, it can serve up static content from the classpath, but I want to do it from the webapp. Matt Musachy Barroso wrote: > > Quoting the doc: " > > Common static content that is needed by the framework (JavaScript and CSS > files, etc.) is served automatically by the FilterDispatcher filter