Re: Benefits of using Filter as front controller

2012-08-22 Thread Rene Gielen
compelling reason that could have not gotten away with using a Servlet as front controller in struts 2, but I would have loved to have the option of using a Servlet as my front controller in struts 2. With all said, I did not mean to belittle struts 2 or take a jab at any struts 2

Re: Benefits of using Filter as front controller

2012-08-14 Thread Struts Two
What people are missing here is that using filters and deviating from the spec as front controller would cause quite a few issues when some applications servers are used. I quite clearly remember that I went through hell to deploy my applications on WebSphere applications with an Http server

Re: Benefits of using Filter as front controller

2012-08-14 Thread Rene Gielen
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 implemented as servlet does not mean that it _has_ to be implemented that way, unless the spec says or clearly implies

Re: Benefits of using Filter as front controller

2012-08-14 Thread Dave Newton
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

Re: Benefits of using Filter as front controller

2012-08-14 Thread Struts Two
am not trying to stir an endless discussion on what interpretation is correct as there will be no consensus. And I do not know what has been the darn compelling reason that could have not gotten away with using a Servlet as front controller in struts 2, but I would have loved to have the option

Re: Benefits of using Filter as front controller

2012-08-14 Thread Rene Gielen
have not gotten away with using a Servlet as front controller in struts 2, but I would have loved to have the option of using a Servlet as my front controller in struts 2. With all said, I did not mean to belittle struts 2 or take a jab at any struts 2 contributor in my previous comment

Re: Benefits of using Filter as front controller

2012-08-14 Thread Joseph Mocker
an endless discussion on what interpretation is correct as there will be no consensus. And I do not know what has been the darn compelling reason that could have not gotten away with using a Servlet as front controller in struts 2, but I would have loved to have the option of using a Servlet

RE: Benefits of using Filter as front controller

2012-08-13 Thread Martin Gainty
facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 13 Aug 2012 11:30:05 +0530 Subject: Benefits of using Filter as front controller From: umeshawas...@gmail.com To: user@struts.apache.org Hi All, I was reading

Re: Benefits of using Filter as front controller

2012-08-13 Thread Paul Benedict
la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 13 Aug 2012 11:30:05 +0530 Subject: Benefits of using Filter as front controller From: umeshawas...@gmail.com To: user@struts.apache.org Hi All, I was reading this thread http://struts

Re: Benefits of using Filter as front controller

2012-08-13 Thread Dave Newton
aucune responsabilité pour le contenu fourni. Date: Mon, 13 Aug 2012 11:30:05 +0530 Subject: Benefits of using Filter as front controller From: umeshawas...@gmail.com To: user@struts.apache.org Hi All, I was reading this thread http://struts.1045723.n5.nabble.com/Servlet-filter

Re: Benefits of using Filter as front controller

2012-08-13 Thread umeshawasthi
2012 09:49:43 To: Struts Users Mailing Listuser@struts.apache.org Reply-To: Struts Users Mailing List user@struts.apache.org 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

Re: Benefits of using Filter as front controller

2012-08-13 Thread Paul Benedict
-Original Message- From: Dave Newton davelnew...@gmail.com Date: Mon, 13 Aug 2012 09:49:43 To: Struts Users Mailing Listuser@struts.apache.org Reply-To: Struts Users Mailing List user@struts.apache.org Subject: Re: Benefits of using Filter as front controller IIRC it states filters

Re: Benefits of using Filter as front controller

2012-08-13 Thread Rene Gielen
@struts.apache.org Reply-To: Struts Users Mailing List user@struts.apache.org 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-quoting; on cell

Re: Benefits of using Filter as front controller

2012-08-13 Thread umeshawasthi
Mailing Listuser@struts.apache.org Reply-To: Struts Users Mailing List user@struts.apache.org Subject: Re: Benefits of using Filter as front controller 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

Re: Servlet filter as front controller

2009-10-08 Thread Struts Two
appservers that follow the spec and you have to resort to all sort of hacks to get around it. --- On Wed, 10/7/09, Arthur Neves arthu...@gmail.com wrote: From: Arthur Neves arthu...@gmail.com Subject: Re: Servlet filter as front controller To: Struts Users Mailing List user@struts.apache.org

Re: Servlet filter as front controller

2009-10-08 Thread Wes Wannemacher
: From: Arthur Neves arthu...@gmail.com Subject: Re: Servlet filter as front controller To: Struts Users Mailing List user@struts.apache.org Received: Wednesday, October 7, 2009, 11:57 PM With the filter struts2 can intercept all request. I think it's more difficult to do thinks like

Re: Servlet filter as front controller

2009-10-08 Thread Struts Two
. --- On Thu, 10/8/09, Wes Wannemacher w...@wantii.com wrote: From: Wes Wannemacher w...@wantii.com Subject: Re: Servlet filter as front controller To: Struts Users Mailing List user@struts.apache.org Received: Thursday, October 8, 2009, 1:15 PM I was thinking about this issue recently

Servlet filter as front controller

2009-10-07 Thread Unmesh joshi
Hi,Struts2 uses servlet filter org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter as front controller, rather than having a servlet act as front controller. Is there any specific advantage of using servlet filter over servlet (as in struts 1.1)? Thanks,Unmesh

Re: Servlet filter as front controller

2009-10-07 Thread Arthur Neves
.dispatcher.ng.filter.StrutsExecuteFilter as front controller, rather than having a servlet act as front controller. Is there any specific advantage of using servlet filter over servlet (as in struts 1.1)? Thanks,Unmesh _ Great events

Re: [Friday] Front Controller pattern sucks

2006-02-02 Thread Simon Chappell
On 2/2/06, Michael Jouravlev [EMAIL PROTECTED] wrote: * snip a bunch of stuff * Objections? More of a comment really. While you may or may not be right about which framework/buzzword/concept/pattern sucks and how much they suck, Struts has helped me git 'er done without too much pain. Call me

Front controller

2005-06-24 Thread Nils Liebelt
Hi all, I want to write a Swing front end for one of my struts applications. Basically keeping everything besides the view. I would be nice if I can keep the validation framework and my controller components probably wrapped in some kind of interface. I am wondering if there's already a project

Problem with front controller for redirecting to a Struts action

2005-02-13 Thread Tuan H. Le
Hi, PROBLEM: Please help with my servlet mapping issue. It's calling my redirector class repeately and the redirector does not work. REQUIREMENTS: I want to give my client a personalized URL like http://www.mydomain.com/myWebApp/FirstName_LastName (NOTE: no file extension). When the user enters

Re: R: Front Controller?

2004-07-02 Thread Robert McBride
Hi, Here's a little bit better link about Front Controller. http://java.sun.com/blueprints/corej2eepatterns/Patterns/FrontController.html -Rob Amleto Di Salle wrote: Hi, Struts contains a Front Controller implementation! Anyway, if you want to see the Front Controller design pattern and others

RE: Front Controller?

2004-06-07 Thread Chaikin, Yaakov Y (US SSA)
Model 2 / MVC / Front Controller are all the same thing. Hmm... No, they are not. Front Controller and MVC are similar, but are NOT the same design patterns! Front Controller is used for a sequence of predefined steps (like a check out on amazon). MVC is used for separation of Model (data

R: Front Controller?

2004-06-07 Thread Amleto Di Salle
Hi, I think that MVC and Front Controller are slightly different because MVC (or Model 2) is an architectural pattern and Front Controller is a design pattern. Front Controller design pattern is a possible solution for the Controller element inside the MVC pattern. BR Amleto -Messaggio

R: Front Controller?

2004-06-07 Thread Amleto Di Salle
Hi, Struts contains a Front Controller implementation! Anyway, if you want to see the Front Controller design pattern and others please visit http://www.corej2eepatterns.com/index.htm BR Amleto -Messaggio originale- Da: Chaikin, Yaakov Y (US SSA) [mailto:[EMAIL PROTECTED] Inviato

RE: Front Controller?

2004-06-07 Thread Chaikin, Yaakov Y (US SSA)
Struts contains a Front Controller implementation! Could you point me to a particular class? Or are you saying that the default class is already following Front Controller? Thanks, Yaakov. - To unsubscribe, e-mail: [EMAIL

R: Front Controller?

2004-06-07 Thread Amleto Di Salle
Hi, Front Controller design pattern contains several collaborations and strategies in order to implements the pattern. See the link that i sent you before in order to understand what i mean. Anyway, the FrontController class inside Struts is the ActionServlet class and the ApplicationController

RE: Front Controller?

2004-06-07 Thread Matthias Wessendorf
: Front Controller? Hi, Front Controller design pattern contains several collaborations and strategies in order to implements the pattern. See the link that i sent you before in order to understand what i mean. Anyway, the FrontController class inside Struts is the ActionServlet

Re: Front Controller?

2004-06-06 Thread Riyad Kalla
Model 2 / MVC / Front Controller are all the same thing. In Struts the Front Controller is the ActionServlet, it receives/handles/dispatches every single request that comes into your web app. You write actions that are like units of functionality, then specify in a mapping file