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
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
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()
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
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
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
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
7 matches
Mail list logo