Re: Benefits of using Filter as front controller

2012-08-22 Thread Rene Gielen
esource but when it comes to filters there is. And quite >>> rightfully so, as there may be darn compelling reasons to do so, since >>> things quite few often do not follow patterns put in black and white. I am >>> not trying to stir an endless discussion on what inter

Re: Benefits of using Filter as front controller

2012-08-14 Thread Joseph Mocker
gt; rightfully so, as there may be darn compelling reasons to do so, since >> things quite few often do not follow patterns put in black and white. I am >> not trying to stir an endless discussion on what interpretation is correct >> as there will be no consensus. And I do not k

Re: Benefits of using Filter as front controller

2012-08-14 Thread Rene Gielen
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 as my front controller in struts 2. > > Wi

Re: Benefits of using Filter as front controller

2012-08-14 Thread Struts Two
e few often do not follow patterns put in black and white. I 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 control

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 phra

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 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 as

Re: Benefits of using Filter as front controller

2012-08-13 Thread umeshawasthi
: "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

Re: Benefits of using Filter as front controller

2012-08-13 Thread Rene Gielen
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&

Re: Benefits of using Filter as front controller

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

Re: Benefits of using Filter as front controller

2012-08-13 Thread umeshawasthi
: 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-

Re: Benefits of using Filter as front controller

2012-08-13 Thread Dave Newton
interdite. Ce message sert à l'information seulement et n'aura > pas n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > >

Re: Benefits of using Filter as front controller

2012-08-13 Thread Paul Benedict
> n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent 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

RE: Benefits of using Filter as front controller

2012-08-13 Thread Martin Gainty
légalement obligatoire. Étant donné que les email peuvent 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...@gma

Re: Servlet filter as front controller

2009-10-08 Thread Struts Two
. --- On Thu, 10/8/09, Wes Wannemacher wrote: > From: Wes Wannemacher > Subject: Re: Servlet filter as front controller > To: "Struts Users Mailing List" > Received: Thursday, October 8, 2009, 1:15 PM > I was thinking about this issue > recently and wondered if simply &g

Re: Servlet filter as front controller

2009-10-08 Thread Wes Wannemacher
10/7/09, Arthur Neves wrote: > >> From: Arthur Neves >> Subject: Re: Servlet filter as front controller >> To: "Struts Users Mailing List" >> Received: Wednesday, October 7, 2009, 11:57 PM >> With the filter struts2 can intercept >> all request. >&

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 wrote: > From: Arthur Neves > Subject: Re: Servlet filter as front controller > To: "Struts Users Mailing List" > Received: Wednesday, October 7, 200

Re: Servlet filter as front controller

2009-10-07 Thread Arthur Neves
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 > > ___

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: [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. Cal

[Friday] Front Controller pattern sucks

2006-02-02 Thread Michael Jouravlev
Intro - Struts sucks (c) Jason Carreira. Struts implements Front Controller pattern. ==> Front Controller pattern sucks ==> ASP.NET does not suck because it uses Page Controller pattern ==> J2EE must have its own non-sucky Page Controller framework ==> JSF has been born ==> JS

Web Islands: good usage of Struts Front Controller

2005-08-05 Thread Michael Jouravlev
If someone cares, I wrote a piece on web islands, which are essentially multi-state multi-page resources. http://www.jroller.com/page/javadujour?entry=islands - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Front controller

2005-06-23 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 d

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 o

RE: Front Controller?

2004-06-07 Thread Matthias Wessendorf
sers Mailing List' > Subject: R: 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. >

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 Application

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: [EM

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)
> 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

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

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 (d

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 i

Front Controller?

2004-06-06 Thread Chaikin, Yaakov Y (US SSA)
Hi, Struts project is for MVC. Is there a project out there that implements Front Controller pattern? Thank you. Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (ph) 301-838-6802 (fax) - To unsubscribe, e-mail