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.apache.struts2.dispatcher.ng.filter.Struts

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
mplated creating a base class, but didn't like the idea of > having to > create a basically empty Action class for Actions that use ActionForward > to > forward to a jsp for display without calling an Action. And, frankly, > thought it > would be more complex to go learn the order of

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

Re: Servlet filter

2004-06-04 Thread Nic Holbrook
I actually extended the Action class with a SecureAction class and created a Secure Action Mapping. All actions that need to be secured extend this class. In the struts config I have for each action. This way I validate at the role level for each action. This works great since we build menu

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
List' Subject: Re: Servlet filter Shilpa, We are doing just that. A filter comes into effect before the control goes to the servlet. So if you can stop the user at the filter level you are actually saving some processing. We are checking for the presence of session in the filter. Br

Re: Servlet filter

2004-06-03 Thread brati . sankarghosh
Shilpa, We are doing just that. A filter comes into effect before the control goes to the servlet. So if you can stop the user at the filter level you are actually saving some processing. We are checking for the presence of session in the filter. Brati Sankar Ghosh Tata Consultancy Services Mailt

RE: Servlet filter

2004-06-03 Thread Vijay.Nair
We used a filter for the same purpose...works like a charm I presume the configuration is pretty simple.configure it in the web.xml using the filter tags and make sure the filter class is present in your web app -Original Message- From: Shilpa Vaidya [mailto:[EMAIL PROTECTED]