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

2007-03-15 Thread Felipe Rodrigues
Take the static content out of .jar, doesn't help the performance? I know that taking the template directory out of jar helps a lot at performance when rendering ui. Doesn't it heppen the same with static content? best, Felipe Musachy Barroso wrote: > > I don't think so, if you set it to fals

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: Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread Stuart Piltch
mraible raibledesigns.com> writes: > I'm using *.html as my default extension, which causes a whole host of issues > with Dojo. Regardless, I want to fight through it and see if I can come up > with a solution. Hi Matt, I'm not sure about your specific FilterDispatcher question, but we also use

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

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

2007-02-27 Thread Musachy Barroso
Is there a FAQ for S2 somewhere? musachy On 2/27/07, Musachy Barroso <[EMAIL PROTECTED]> 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. Any request starting with "/struts/

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

2007-02-27 Thread Musachy Barroso
Quoting the doc: " Common static content that is needed by the framework (JavaScript and CSS files, etc.) is served automatically by the FilterDispatcher filter. Any request starting with "/struts/" denotes that static content is required, and then mapping the value after "/struts/" to common pac

Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread mraible
I'm using *.html as my default extension, which causes a whole host of issues with Dojo. Regardless, I want to fight through it and see if I can come up with a solution. I noticed that FilterDispatcher allows you to serve up static files from the classpath. Is it possible to configure this same