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

Re: Servlet filter as front controller

2009-10-08 Thread Wes Wannemacher
: 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

Re: Servlet filter as front controller

2009-10-08 Thread Struts Two
. --- 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

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 unmesh_jo...@hotmail.comwrote: Hi,Struts2 uses servlet filter

RE: Servlet Filter?

2006-04-10 Thread Quinn Stone
[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 then :) One thing you may want to do is have a look at the filters in Java Web Parts (http

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 page

Re: Servlet Filter?

2006-04-08 Thread Dakota Jack
: 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 from said Servlet Filter, will a handler defined in global

Re: Servlet Filter?

2006-04-08 Thread Dakota Jack
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 Quinn, Quinn Stone wrote: 1. Does the Servlet filter seem a good

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 global-exceptions catch it? My

RE: Servlet Filter?

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

Re: Servlet Filter?

2006-04-07 Thread Frank W. Zammetti
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 Quinn, Quinn Stone wrote: 1

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]

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

RE: Servlet filter

2004-06-03 Thread Shilpa Vaidya
' 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. Brati Sankar

RE: Servlet filter

2004-06-03 Thread brati . sankarghosh
://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] cc Subject RE: Servlet filter Thanks brati, r u writing a servlet filter . how did u approach it. can u