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

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: S2: web.xml servlet/filter-mappings

2008-07-15 Thread Alberto A. Flores
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

Re: S2: web.xml servlet/filter-mappings

2008-07-15 Thread Don Brown
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

S2: web.xml servlet/filter-mappings

2008-07-15 Thread Mikkel Lindhard
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

2007-05-03 Thread Vinit N
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

RE: Servlet Filter?

2006-04-10 Thread Frank W. Zammetti
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

RE: Servlet Filter?

2006-04-09 Thread Quinn Stone
> -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

Re: Servlet Filter?

2006-04-08 Thread Dakota Jack
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

Re: Servlet Filter?

2006-04-08 Thread Dakota Jack
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

Re: Servlet Filter?

2006-04-07 Thread Frank W. Zammetti
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

RE: Servlet Filter?

2006-04-07 Thread Quinn Stone
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

Re: Servlet Filter?

2006-04-07 Thread Frank W. Zammetti
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

Servlet Filter?

2006-04-07 Thread Quinn Stone
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

Re: Integrating Tiles, Struts and Servlet Filter

2005-07-19 Thread Laurie Harper
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.

RE: Integrating Tiles, Struts and Servlet Filter

2005-07-19 Thread Baranj, Bala
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 "); %> &

Re: Integrating Tiles, Struts and Servlet Filter

2005-07-19 Thread a k
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

Integrating Tiles, Struts and Servlet Filter

2005-07-19 Thread Baranj, Bala
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

Re: throw exception in servlet filter - no error page displayed

2005-04-27 Thread Adam Hardy
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

throw exception in servlet filter - no error page displayed

2005-04-26 Thread Grzegorz Stasica
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

RE: Two Qs re: authentication servlet filter

2005-01-05 Thread Marco Mistroni
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]

Re: Two Qs re: authentication servlet filter

2005-01-05 Thread Nicolas De Loof
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

RESOLVED: Two Qs re: authentication servlet filter

2005-01-04 Thread john . chesher
m> cc: Subject: RE: Two Qs re: authentication servlet filter

RE: Two Qs re: authentication servlet filter

2005-01-04 Thread Jim Barrows
> -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

Two Qs re: authentication servlet filter

2005-01-04 Thread john . chesher
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

Re: Servlet filter

2004-06-04 Thread Nic Holbrook
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

RE: URL regd Servlet filter

2004-06-04 Thread Jose Ramon Diaz
: [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

RE: URL regd Servlet filter

2004-06-04 Thread brati . sankarghosh
"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

RE: URL regd Servlet filter

2004-06-04 Thread Jose Ramon Diaz
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

Re: URL regd Servlet filter

2004-06-04 Thread Prashanth.S
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

URL regd Servlet filter

2004-06-03 Thread Shilpa Vaidya
-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

RE: Servlet filter

2004-06-03 Thread brati . sankarghosh
: [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]>

RE: Servlet filter

2004-06-03 Thread Shilpa Vaidya
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

Fw: Servlet filter

2004-06-03 Thread brati . sankarghosh
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

Re: Servlet filter

2004-06-03 Thread brati . sankarghosh
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]>

RES: Servlet filter

2004-06-03 Thread Fabrício Garcia Imbrizi
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

R: Servlet filter

2004-06-03 Thread Andrea M.
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

RE: Servlet filter

2004-06-03 Thread Vijay.Nair
] 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

Servlet filter

2004-06-03 Thread Shilpa Vaidya
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