I use them for authentication..

Filter is mainly a pre-processor or a post-processor however you want to use
it..

It is pretty good for taking code out code that is in EACH one or most of
your servlets or jsps. By using filter, you can do *those* tasks before the
request gets to them.

I think filters are very good.. After all, if your filter is slow, you can
speed it up by making changes at one place, the filter. And I don't really
see much overheard. Generally you don't put a "do nothing" filter on every
request, filter will do something that's needed for the app. Other than
that, its just another class that gets loaded. I am not an expert at exactly
these application servers deal with them, but I do know that I wanted
filters way before they came out, so I am a big fan of em..


My 2 cents..
Paul

-----Original Message-----
From: Navjot Singh [mailto:[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: Tuesday, April 06, 2004 7:53 PM
>To: [EMAIL PROTECTED]
>Subject: Filters..
>
>
>Hello All,
>
>I know this is an off topic but is it advisable to use Filters in a Web 
>Application?
>
>Any kind of input wud be appreciated..
>
>Thanks,
>VJ
>
>
>
>DISCLAIMER:
>This message contains privileged and confidential information and is 
>intended only for the individual named.If you are not the intended 
>recipient you should not disseminate,distribute,store,print, copy or 
>deliver this message.Please notify the sender immediately by e-mail if 
>you have received this e-mail by mistake and delete this e-mail from 
>your system.E-mail transmission cannot be guaranteed to be secure or
>error-free as information could be
>intercepted,corrupted,lost,destroyed,arrive late or incomplete or
>contain viruses.The sender therefore does not accept liability for
>any errors or omissions in the contents of this message which
>arise as a result of e-mail transmission. If verification is
>required please request a hard-copy version.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to