Hi Vivek,

Take a look at the PETSTORE application. You can download from the sun web
site. Petstore application use filter to check login.
I used the same idea in my filter implementation.

Deepak

-----Original Message-----
From: vivek shrivastava [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 6:42 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: How do we use sevlet filter with actionservlet?



Hi, deepak,

In case if u have created any filter class, could u please provide me some
sort of code sample? since i am new to web application field, i need help to
write a Filter class for login authectication and session validation.


i would really appreciate.

Thanks

>From: "Parmar, Dipakkumar" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: RE: How do we use sevlet filter with actionservlet?
>Date: Wed, 1 May 2002 17:28:29 -0400
>
>Hi vivek,
>
>You just need to add FILTER configuration in your WEB.XML file. You don't
>need to do anything in struts configuration.
>
>   <!-- Filter Configuration -->
>   <filter>
>     <filter-name>CheckSignOnFilter</filter-name>
>     <filter-class>com.cgmp.ccm.web.logon.CheckSignOnFilter</filter-class>
>   </filter>
>   <filter-mapping>
>     <filter-name>CheckSignOnFilter</filter-name>
>     <url-pattern>*.do</url-pattern>
>   </filter-mapping>
>
>Deepak
>
>-----Original Message-----
>From: vivek shrivastava [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, May 01, 2002 3:18 PM
>To: [EMAIL PROTECTED]
>Subject: How do we use sevlet filter with actionservlet?
>
>
>HI,
>
>I am trying to write a filter and use it with actionservlet in struts. i
>don't know how to configure it with actionservlet in struts.
>
>can someone tell me how to use filter with actionservlet in struts?
>
>thanks
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>
>--
>To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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

Reply via email to