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
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 offense.
musachy
On Tue, Jun 23, 2009 at 8:25 AM, rtd wrote:
>
>
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
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
serving static content with struts 2 is probably not a good idea
(performance and security wise)
musachy
On Mon, Jun 22, 2009 at 3:13 PM, rtd wrote:
>
> 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 simil
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
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
Hi,
have You tried doing nothing to achieve adresses like
http://my.server.com/myNameSpace/myAction
it works for me on S2.1.2
Best greetings,
Paweł Wielgus.
2008/10/3 Nick J <[EMAIL PROTECTED]>:
>
> Oh well, no one's answered me yet, but I have found a way, but it's not very
> satisfactory.
> The
Oh well, no one's answered me yet, but I have found a way, but it's not very
satisfactory.
The problem (as well as the action extension being set to empty string) was
I had an action in the default namespace as so it would
intercept all remaining requests.
For static content, I needed these addi
15 matches
Mail list logo