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
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:
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
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
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
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
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
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
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
t;
>
>
>
>
> /css/{1}.css
>
>
>
>
>
>
>
> /css/admin/{1}.css
>
>
>
>
> --Uses--
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://
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
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
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
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
>>
/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
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.
---
16 matches
Mail list logo