Re: A Filter Action !

2006-11-18 Thread Wendy Smoak
On 11/18/06, Youssef A. Mohammed <[EMAIL PROTECTED]> wrote: Thank you but it seems that this method in never called in struts 1.3 that I am using. The default request processor class is ComposableRequestProcessor which happened to override the process method and it never calls processPreprocce

RE: A Filter Action !

2006-11-18 Thread Youssef A. Mohammed
PROTECTED] Sent: Friday, November 17, 2006 8:58 AM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: A Filter Action ! Hi youssef, You can override RequestProcessor instead. The required steps are 1) in struts-config.xml 2) Create a Class wich extends

Re: A Filter Action !

2006-11-16 Thread Venkata Phani Kumar
Hi youssef, You can override RequestProcessor instead. The required steps are 1) in struts-config.xml 2) Create a Class wich extends RequestProcessor If you are using Tile Framework you have extend from TilesRequestProcessor 3) Then override method processPreprocess()

RE: A Filter Action !

2006-11-16 Thread Youssef A. Mohammed
vember 16, 2006 9:34 PM > To: Struts Users Mailing List > Cc: 'Struts Users Mailing List' > Subject: RE: A Filter Action ! > > If your using S2, interceptors would be the way to go. I assume your > using S1 though... > > If your using 1.3.x, you can create a Com

RE: A Filter Action !

2006-11-16 Thread Frank W. Zammetti
s in a servlet > filter, I just want some action filter to work similar to a servlet filter > and make use of struts framework. > Regards, > > >> -Original Message- >> From: Mahmoud Saeed(RSW) [mailto:[EMAIL PROTECTED] >> Sent: Thursday, November 16, 2006 8:46 P

RE: A Filter Action !

2006-11-16 Thread Youssef A. Mohammed
Sent: Thursday, November 16, 2006 8:46 PM > To: Struts Users Mailing List > Subject: RE: A Filter Action ! > > Create a class that implements the Filter Interface and check in the > doFilter method on the attribute , is it exist [user logged-in before] > just call the doFilter(…) of the Fi

RE: A Filter Action !

2006-11-16 Thread Mahmoud Saeed\(RSW\)
Create a class that implements the Filter Interface and check in the doFilter method on the attribute , is it exist [user logged-in before] just call the doFilter(…) of the FilterChain object otherwise [user not logged-in before] make a request dispatcher to the login page or what ever. But, re