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
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
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
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
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
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
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
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
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
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
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
-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
@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
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
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
:
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
.
--- 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
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
.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
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
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
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
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
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
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
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
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
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
: 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
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
30 matches
Mail list logo