.
--- 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
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.
>&
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
With the filter struts2 can intercept all request.
I think it's more difficult to do thinks like, the namespace struct with a
servlet,i dont have sure though.
On Wed, Oct 7, 2009 at 2:58 PM, Unmesh joshi wrote:
>
> Hi,Struts2 uses servlet filter
> org.
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
Also, please remember that the order of the in web.xml
is VERY important.
Don Brown wrote:
Could you post more information? Struts should only be responding to
URI's that contain configured extensions via the
struts.action.extension setting, which defaults to "action".
Don
On Tue, Jul 15, 2
Could you post more information? Struts should only be responding to
URI's that contain configured extensions via the
struts.action.extension setting, which defaults to "action".
Don
On Tue, Jul 15, 2008 at 7:01 PM, Mikkel Lindhard <[EMAIL PROTECTED]> wrote:
> Hello list
>
> I have an web-applic
Hello list
I have an web-application which use both Struts 2 and Axis 2.
Before struts 2.1 i didn't have a problem using the following
configuration in web-xml
AxisServlet
/services/*
struts2
/*
How to get forward for action (test.do) in servlet filter.
--
View this message in context:
http://www.nabble.com/How-to-get-forward-for-action-%28test.do%29-in-servlet-filter-tf3688245.html#a10310889
Sent from the Struts - User mailing list archive at Nabble.com
On Mon, April 10, 2006 2:09 am, Quinn Stone said:
> Frank, thanks for the link to javawebparts. The source code there helped
> me a
> great deal.
Good deal, glad to hear it!
> My next question is whether there's a mechanism by which I can stick an
> ActionError in the request so that the error pa
> -Original Message-
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 07, 2006 10:03 PM
> To: Struts Users Mailing List
> Subject: Re: Servlet Filter?
>
>
> Yeah, that's all reasonable. Well, back to the filter th
method calls of
> LookupDispatchAction to figure out what to override and when and how I
> return
> without bypassing some necessary processing. Sometimes I like the easy way
> out
> (as long as it's not crappy).
>
> Q
>
> -----Original Message-
> From: Fran
ilto:[EMAIL PROTECTED]
> Sent: Friday, April 07, 2006 8:24 PM
> To: Struts Users Mailing List
> Subject: Re: Servlet Filter?
>
>
> Hi Quinn,
>
> Quinn Stone wrote:
> > 1. Does the Servlet filter seem a good solution?
>
> Yes, but not quite as described, and ironica
rn
without bypassing some necessary processing. Sometimes I like the easy way out
(as long as it's not crappy).
Q
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Friday, April 07, 2006 8:24 PM
To: Struts Users Mailing List
Subject: Re: Servlet Filter?
Hi
l 07, 2006 8:24 PM
To: Struts Users Mailing List
Subject: Re: Servlet Filter?
Hi Quinn,
Quinn Stone wrote:
> 1. Does the Servlet filter seem a good solution?
Yes, but not quite as described, and ironically its because of the
answer to #2 :)
> 2. If I throw an EnrollmentDingBat exception f
Hi Quinn,
Quinn Stone wrote:
1. Does the Servlet filter seem a good solution?
Yes, but not quite as described, and ironically its because of the
answer to #2 :)
2. If I throw an EnrollmentDingBat exception from said Servlet Filter, will a
handler defined in catch it? My suspicion is that
tions that
were just ForwardActions:
Nowhere to intercept execution (that I know of) before the jsp tries to use the
EnrollmentBean. Rats.
Now I'm contemplating using a Servlet Filter (never tried that before) to check
for the EnrollmentBean in the session for all my Enroll*.do paths, and throw my
ow
it's hard to know what's going on here.
I have already searched the mailing list archive for similar problems with
no luck. My question is : Is it possible to use the tiles, struts and the
servlet filter together? Are they compatible?
Absolutely, they will work together or independently.
From: a k [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 19, 2005 2:31 PM
To: Struts Users Mailing List
Subject: Re: Integrating Tiles, Struts and Servlet Filter
> <%@ taglib uri="mytaglib" prefix="p" %>
>
>
>
> <% out.print("HOME "); %>
&
t; org.apache.struts.taglib.tiles.InsertTag.createTagHandler(InsertTag.java:476
> )
>at
> org.apache.struts.taglib.tiles.InsertTag.doStartTag(InsertTag.java:436)
>
> I have already searched the mailing list archive for similar problems with
> no luck. My question is : Is
ertTag.createTagHandler(InsertTag.java:476
)
at
org.apache.struts.taglib.tiles.InsertTag.doStartTag(InsertTag.java:436)
I have already searched the mailing list archive for similar problems with
no luck. My question is : Is it possible to use the tiles, struts and the
servlet filter together? Are they compatible?
I can see the ini
On 26/04/05 18:48 Grzegorz Stasica wrote:
My doFilter method looks like that:
public void doFilter(ServletRequest arg0, ServletResponse arg1,
FilterChain arg2) throws IOException, ServletException {
arg2.doFilter(arg0,arg1);
try{
HibernateSessionFactory.c
hi,
My doFilter method looks like that:
public void doFilter(ServletRequest arg0, ServletResponse arg1,
FilterChain arg2) throws IOException, ServletException {
arg2.doFilter(arg0,arg1);
try{
HibernateSessionFactory.commitTransaction();
System
Hello,
^/LoginAction.do
could this be the problem? Shouldn't u use * instead?
Regards
Marco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
y, January 04, 2005 11:17 AM
To: user@struts.apache.org
Subject: Two Qs re: authentication servlet filter
Can anyone help a newbie out? I have a couple of questions:
1) I am implementing a servlet filter for authentication.
In my web app,
a class reunion web site, I want people to be able to
m> cc:
Subject: RE: Two Qs re:
authentication servlet filter
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 04, 2005 11:17 AM
> To: user@struts.apache.org
> Subject: Two Qs re: authentication servlet filter
>
>
>
>
>
>
> Can anyone help a newbie out? I ha
Can anyone help a newbie out? I have a couple of questions:
1) I am implementing a servlet filter for authentication. In my web app,
a class reunion web site, I want people to be able to login with their
first and last names and a password, instead of a single ID and password,
so I am NOT
access a specific page (Action), I
need to forward him to an UnAuthorized error page, before thr formAction
bean is filled.
I would like to use a servlet filter. This filter checks the users rights
and instanciates a HttpServletRequest-Wrapper.But am not sure how - .Can
anyone help.Till then me trying
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviado el: viernes, 04 de junio de 2004 10:50
Para: Struts Users Mailing List
Asunto: RE: URL regd Servlet filter
I am using filters and have some pages that forwards to a JSP(though I
should try avoiding that) I have not faced any problem yet. can
"Jose Ramon Diaz"
<[EMAIL PROTECTED]>
06/04/2004 02:05 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"'Struts Users Mailing
List'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
cc
Subject
RE: URL regd S
es, 04 de junio de 2004 10:13
> Para: Struts Users Mailing List; [EMAIL PROTECTED]
> Asunto: Re: URL regd Servlet filter
>
>
> Hi,
> I think u should override actionservelet class in struts and
> configure struts-config.xml...not so sure..left struts
> coding long
ervlet filter.expersts pls advice.
Regd.
shilpa
ip?download
-Original Message-
From: Shilpa Vaidya [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 6:07 PM
To: 'Struts Users Mailing List'
Subject: RE: Servlet filter
Thanks brati,
r u writing a servlet filter .
how did u ap
-Original Message-
From: Shilpa Vaidya [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 6:07 PM
To: 'Struts Users Mailing List'
Subject: RE: Servlet filter
Thanks brati,
r u writing a servlet filter .
how did u approach it.
can u show me a starting point.
shilpa
-Origin
: [EMAIL PROTECTED]
Website: http://www.tcs.com
"Shilpa Vaidya"
<[EMAIL PROTECTED]>
06/03/2004 06:06 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"'Struts Users Mailing
List'" <[EMAIL PROTECTED]>
Thanks brati,
r u writing a servlet filter .
how did u approach it.
can u show me a starting point.
shilpa
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 5:59 PM
To: Struts Users Mailing List
Cc: 'Struts Users Mailing
Report
Your document:
Re: Servlet filter
was not delivered to:
[EMAIL PROTECTED]
because:
This is an automatically generated Delivery
Status Notification.
Delivery to the following recipients failed.
[EMAIL PROTECTED]
What should you do?
You can resend the undeliverable
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
"Shilpa Vaidya"
<[EMAIL PROTECTED]>
06/03/2004 03:41 PM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"'Struts Users Mailing
List'" <[EMAIL PROTECTED]>
Hi,
Create a generic Action class and for all another Action class created,
extends the generic Action.
Inside generic Action do anything, including authorizations user, log, etc.
The generic Action class has the execute(...) method and the last method
executed is an another execute() ex.: (exec
04 12.11
A: 'Struts Users Mailing List'
Oggetto: Servlet filter
hey all,
Preventing users from accesing action. I am writing a web app to manage
administrators and profiles.
Administrators may access to the web app based on the profiles they have.
The profiles, determine which pages the admin
]
Sent: Thursday, June 03, 2004 3:41 PM
To: 'Struts Users Mailing List'
Subject: Servlet filter
hey all,
Preventing users from accesing action. I am writing a web app to manage
administrators and profiles.
Administrators may access to the web app based on the profiles they
have.
Th
UnAuthorized error page, before thr formAction
bean is filled.
I would like to use a servlet filter. This filter checks the users rights
and instanciates a HttpServletRequest-Wrapper.But am not sure how - .Can
anyone help.Till then me trying to study the ServletFilter examples here n
there.
Shilpa
42 matches
Mail list logo