early remember that I went
>>>> through hell to deploy my applications on WebSphere applications with an
>>>> Http server as front Web server. WebSphere goes through web.xml files and
>>>> uses Servlet URL mappings to generate the plugin file for resource mapping
just
>> wanted to reflect the opinion for some spectrum of struts user community
>> though may be small in numbers.
>>
>>
>> - Original Message -
>> From: Rene Gielen
>> To: Struts Users Mailing List
>> Cc:
>> Sent: Tuesday, August 14, 2012
I just
> wanted to reflect the opinion for some spectrum of struts user community
> though may be small in numbers.
>
>
> - Original Message -----
> From: Rene Gielen
> To: Struts Users Mailing List
> Cc:
> Sent: Tuesday, August 14, 2012 12:10:56 PM
> Subject: Re:
Cc:
Sent: Tuesday, August 14, 2012 12:10:56 PM
Subject: Re: Benefits of using Filter as front controller
So far I fail to see where Struts 2 deviates from or violates the spec.
The fact that _usually_ a front controller - a concept not to be found
at all in the servlet spec - is implemen
On Tue, Aug 14, 2012 at 12:10 PM, Rene Gielen wrote:
> So far I fail to see where Struts 2 deviates from or violates the spec.
>
Agreed; I've now read the relevant sections of older and new specs, and
AFAICT it does not explicitly disallow serving resources.
Further, it is arguable that the phra
time]
>
>
>
> - Original Message -
> From: "umeshawas...@gmail.com"
> To: Struts Users Mailing List
> Cc:
> Sent: Monday, August 13, 2012 2:05:45 PM
> Subject: Re: Benefits of using Filter as front controller
>
> Rene
> Thanks for such
2:05:45 PM
Subject: Re: Benefits of using Filter as front controller
Rene
Thanks for such a detailed explanation and descrbing each and every aspects
Now even I can say and explains things in much more and good way
Sent from BlackBerry® on Airtel
-Original Message-
From: Rene Gielen
Dat
: "Struts Users Mailing List"
Subject: Re: Benefits of using Filter as front controller
Grabbed me a copy of Servlet Spec 2.4:
SRV.6.1 What is a filter?
A filter is a reusable piece of code that can transform the content of
HTTP requests, responses, and header information. Filters do not
ave Newton
>> Date: Mon, 13 Aug 2012 09:49:43
>> To: Struts Users Mailing List
>> Reply-To: "Struts Users Mailing List"
>> Subject: Re: Benefits of using Filter as front controller
>>
>> IIRC it states filters shouldn't be used to serve resources. I can&
;
> -Original Message-
> From: Dave Newton
> Date: Mon, 13 Aug 2012 09:49:43
> To: Struts Users Mailing List
> Reply-To: "Struts Users Mailing List"
> Subject: Re: Benefits of using Filter as front controller
>
> IIRC it states filters shouldn't be
: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: Re: Benefits of using Filter as front controller
IIRC it states filters shouldn't be used to serve resources. I can't look
it up at the moment, but will later today.
Dave
(pardon brevity, typos, and top-
IIRC it states filters shouldn't be used to serve resources. I can't look
it up at the moment, but will later today.
Dave
(pardon brevity, typos, and top-quoting; on cell)
On Aug 13, 2012 9:44 AM, "Paul Benedict" wrote:
> With all due respect, I think saying Struts 2 violates the Servlet
> Spec
With all due respect, I think saying Struts 2 violates the Servlet
Spec is a grand stretch of the imagination.
http://stackoverflow.com/questions/2957165/servlet-vs-filter
Struts has a filter gives greater control over the kind of dispatching
needed. You can then intercept processing not just web
A good question!
The issue of "direct access of filters as resources" does appear to break the
2.4 Servlet spec for the reason that Struts needs access to all (attributes)
from the Request
Another important issue is "who is doing the dispatching" under Strut2
Martin
___
14 matches
Mail list logo