Re: filters in web application

2006-02-13 Thread David Delbecq
This all depends on what your filters do. If each filter is creating wrappers, analysing output stream and so on, you could indeed get performances issues. Consider each filter is about 3~4 additional stack level. Also each filter = 1 object + it's configuration datas Basically a filter is if your

Re: Filters

2005-03-29 Thread Craig McClanahan
If your filter really wants to do a RequestDispatcher.foward() call (to go someplace other than the servlet that the original request URI is mapped to), you can do that too ... you're not stuck with redirects. That way you don't lose your request parameters and attributes. Craig On Tue, 29 Mar

Re: Filters

2005-03-29 Thread Frank W. Zammetti
Yeah, my bad... I cracked open the authorization filter I wrote because I didn't want to give a wrong answer off the top of my head... problem is, that filter just redirects to a "Go away, your not allowed in here!" kind of page, so there was no concern with losing request parameters in that use ca

Re: Filters

2005-03-29 Thread Joe Germuska
Frank's suggestion might work, although note that it would result in the discarding of all request parameters, which may not be what you want. If you have complex session initialization logic in an Action and you want to use it in the Filter, I'd suggest factoring it out into a utility class.

Re: Filters

2005-03-29 Thread Frank W. Zammetti
response.sendRedirect(url); That's what I do. You do get a reference to request, so I would assume you could get a dispatcher off it and do what you always do. I've never had a need to try it though. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omny

RE: Filters..

2004-04-06 Thread Dhaliwal, Pritpal (HQP)
o:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 8:51 AM To: Struts Users Mailing List Subject: RE: Filters.. yes. feel free to use them if you have a need. They are really good at handle some problems. >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Sent

[FRIDAY] Re: Filters..

2004-04-06 Thread Niall Pemberton
So if you can get your webapp smoking with filters then no worries. I'm ready for friday - are we nearly there yet? - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, April

RE: Filters..

2004-04-06 Thread Navjot Singh
yes. feel free to use them if you have a need. They are really good at handle some problems. >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Sent: Tuesday, April 06, 2004 7:53 PM >To: [EMAIL PROTECTED] >Subject: Filters.. > > >Hello All, > >I know this is an off t

RE: Filters..

2004-04-06 Thread Freddy Villalba Arias
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: martes, 06 de abril de 2004 16:40 Para: [EMAIL PROTECTED] Asunto: RE: Filters.. Apologies...for the generality of the question Our Web Application primarily consists of satellite applications interfacing with a core systemI primar

Re: Filters..

2004-04-06 Thread Adolfo Miguelez
Filters require servlets 2.3+ From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: Filters.. Date: Tue, 6 Apr 2004 10:23:51 -0400 VJ, Filters

Re: Filters..

2004-04-06 Thread Adam Hardy
I always use filters when programming. Unfiltered cigarettes are twice as likely to give you cancer. ;) On 04/06/2004 04:23 PM [EMAIL PROTECTED] wrote: VJ, Filters are a good way of extending an existing application without having to recompile or rewrite code. I often use them. <[EMAIL

RE: Filters..

2004-04-06 Thread Vijay.Nair
, 2004 7:53 PM To: Struts Users Mailing List Subject: RE: Filters.. Whoa, talk about general questions!!! :) I suppose it depends on what you want them for and the overall context... Could you be more specific? Cheers, Freddy. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Filters..

2004-04-06 Thread shirishchandra.sakhare
appropriate.There was even a discussion on struts dev mailing list in this regard. -Original Message- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 4:25 PM To: 'Struts Users Mailing List' Subject: RE: Filters.. > I know this is an off to

Re: Filters..

2004-04-06 Thread Kevin_Gutch
VJ, Filters are a good way of extending an existing application without having to recompile or rewrite code. I often use them. <[EMAIL PROTECTED]> 04/06/2004 10:22 AM Please respond to "Struts Users Mailing List" To: <[EMAIL PROTECTED]> cc: Subject:

RE: Filters..

2004-04-06 Thread Freddy Villalba Arias
Whoa, talk about general questions!!! :) I suppose it depends on what you want them for and the overall context... Could you be more specific? Cheers, Freddy. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: martes, 06 de abril de 2004 16:23 Para: [EMAIL

RE: Filters..

2004-04-06 Thread Slattery, Tim - BLS
> I know this is an off topic but is it advisable to use > Filters in a Web Application? We do routinely, to try to keep users on the approved path through the application. -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e