RE: Benefits of using Filter as front controller

2012-08-13 Thread Martin Gainty
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

Re: Benefits of using Filter as front controller

2012-08-13 Thread Paul Benedict
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

Re: Benefits of using Filter as front controller

2012-08-13 Thread Dave Newton
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 pbened...@apache.org wrote: With all due respect, I think saying Struts 2 violates

Re: Benefits of using Filter as front controller

2012-08-13 Thread umeshawasthi
Yes this was one of the point I was thinking Same question was today asked on SO and this lead me to reaseach as what advantages and reasons was there to use filter as controller Sent from BlackBerry® on Airtel -Original Message- From: Dave Newton davelnew...@gmail.com Date: Mon, 13 Aug

Re: Benefits of using Filter as front controller

2012-08-13 Thread Paul Benedict
I'll take back what I said and reserve opinion until further research. I'll be interested in what you all find. For the record, the Spring Framework has its front-controllers as servlets.

Re: Benefits of using Filter as front controller

2012-08-13 Thread Rene Gielen
Grabbed me a copy of Servlet Spec 2.4: quote 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 generally create a response or respond to a request as servlets do, rather they modify or

Re: Benefits of using Filter as front controller

2012-08-13 Thread umeshawasthi
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 rgie...@apache.org Date: Mon, 13 Aug 2012 20:00:04 To: Struts Users

Problem with struts 2.3.4.1 struts2-rest-showcase on Tomcat

2012-08-13 Thread Mike Esler
Hello all, I'm having problems running the struts2-rest-showcase WAR that is packaged with Struts 2.3.4.1 (2.3.4 as well). Both Tomcat and Struts should be stock configurations. The other struts showcases seem to work fine. Should this showcase work on a stock Tomcat build for win64? I've

[ANN] Struts 2.3.4.1 GA release available

2012-08-13 Thread Rene Gielen
The Apache Struts group is pleased to announce that Struts 2.3.4.1 is available as a General Availability release. The GA designation is our highest quality grade. Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed to