Re: Struts2 static content

2009-06-24 Thread musomesa
Subject: Re: Struts2 static content On Tue, Jun 23, 2009 at 11:45 AM, Musachy Barroso wrote: > Struts adds overhead for serving static content. Not that I have ever > done any benchmarking on it, but I know that at my company(large > online retailer), just suggesting to ser

RE: Struts2 static content

2009-06-23 Thread Martin Gainty
ponsabilité pour le contenu fourni. > Date: Tue, 23 Jun 2009 09:29:11 -0700 > Subject: Re: Struts2 static content > From: musa...@gmail.com > To: user@struts.apache.org > > this sounds like a good topic for Myth Buster > > /geek_out > > On Tue, Jun 23, 2009 at 9:

Re: Struts2 static content

2009-06-23 Thread Wes Wannemacher
On Tue, Jun 23, 2009 at 12:29 PM, Musachy Barroso wrote: > this sounds like a good topic for Myth Buster > > /geek_out > Only if they do it in true MythBuster form and the servers blow up. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery

Re: Struts2 static content

2009-06-23 Thread Musachy Barroso
this sounds like a good topic for Myth Buster /geek_out On Tue, Jun 23, 2009 at 9:25 AM, Wes Wannemacher wrote: > On Tue, Jun 23, 2009 at 12:11 PM, Wes Wannemacher wrote: >> On Tue, Jun 23, 2009 at 11:45 AM, Musachy Barroso wrote: >>> Struts adds overhead for serving static content. Not that I ha

Re: Struts2 static content

2009-06-23 Thread Wes Wannemacher
On Tue, Jun 23, 2009 at 12:11 PM, Wes Wannemacher wrote: > On Tue, Jun 23, 2009 at 11:45 AM, Musachy Barroso wrote: >> Struts adds overhead for serving static content. Not that I have ever >> done any benchmarking on it, but I know that at my company(large >> online retailer), just suggesting to se

Re: Struts2 static content

2009-06-23 Thread Wes Wannemacher
On Tue, Jun 23, 2009 at 11:45 AM, Musachy Barroso wrote: > Struts adds overhead for serving static content. Not that I have ever > done any benchmarking on it, but I know that at my company(large > online retailer), just suggesting to serve static content thru tomcat > instead of apache is a big of

Re: Struts2 static content

2009-06-23 Thread Musachy Barroso
ted in learning. > -- > View this message in context: > http://www.nabble.com/Struts2-static-content-tp19784601p24167321.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsu

Re: Struts2 static content

2009-06-23 Thread rtd
essage in context: http://www.nabble.com/Struts2-static-content-tp19784601p24167321.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: Struts2 static content

2009-06-23 Thread rtd
essage in context: http://www.nabble.com/Struts2-static-content-tp19784601p24167320.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: Struts2 static content

2009-06-22 Thread Musachy Barroso
t; >   >   > >     >      /css/{1}.css >     >   > >   >     > >     >      /css/admin/{1}.css >     >   > > > --Uses-- > > > > > > > > > -- > View this message in context: > http://

Re: Struts2 static content

2009-06-22 Thread rtd
w to serve static content with paths relative to two different roots. --Config-- /css/{1}.css /css/admin/{1}.css --Uses-- -- View this message in context: http://www.nabble.com/Struts2-static-content-tp19784601p24156484.html Sen

Re: Struts2 static content

2008-10-03 Thread Sébastien Domergue
Hello, i think that you could modify your web.xml instead. In struts filter, you may have a wildcard to take all in struts2 filter. By modifying web.xml, you should be able to redirect url with .html or .jsp immediatly without using struts. I don't have any exemple, sorry. Regards Sébastien

Re: Struts2 static content

2008-10-03 Thread Al Sutton
Nick, The way I do it is to have a web server front end backing off to a servlet engine and serve the static content from the web server. To give you an example of one of my sites (andappstore.com), I have Apache at the front end which connects to Tomcat at the back end via mod_jk & ajp13, t

Re: Struts2 static content

2008-10-03 Thread Paweł Wielgus
css/{1} > > > > namespace="/static/js"> > >/js/{1} > > > > > > Nick J wrote: >> >> I am using struts2. >> I don't want .action or .do on the end of the url's, so I set >>

Re: Struts2 static content

2008-10-03 Thread Nick J
/css/{1} /js/{1} Nick J wrote: > > I am using struts2. > I don't want .action or .do on the end of the url's, so I set > struts.action.extension='' (empty string) > -- View this message in context: http://www.nabble.com/Struts2

Struts2 static content

2008-10-02 Thread Nick J
servlet. How can I set up an action to serve static content? -- View this message in context: http://www.nabble.com/Struts2-static-content-tp19784601p19784601.html Sent from the Struts - User mailing list archive at Nabble.com. ---