Re: Overriding RequestProcessor for sesion validationi

2004-05-09 Thread Jacob Weber
Thanks for all your help. I decided to ditch RequestProcessor and just make base action classes. I made one for Action, one for DispatchAction, and one for ForwardAction. It means a little redundancy, but I feel like this is better integrated into the Struts framework. This way I have access to

Re: Overriding RequestProcessor for sesion validationi

2004-05-09 Thread Michael McGrady
Why don't you just use MessageResources? At 03:13 AM 5/9/2004, Sven Kiesewetter wrote: GMaine wrote: Hi. I wonder if someone can help me. I'm trying to override RequestProcessor to check whether a user has logged in. If he has, I'll let the request proceed. If not, I'd like to forward him somewher

Re: Overriding RequestProcessor for sesion validationi

2004-05-09 Thread Sven Kiesewetter
GMaine wrote: Hi. I wonder if someone can help me. I'm trying to override RequestProcessor to check whether a user has logged in. If he has, I'll let the request proceed. If not, I'd like to forward him somewhere. The problem is, I need to display an error message if I'm redirecting the user. I'm t

Re: Overriding RequestProcessor for sesion validationi

2004-05-07 Thread Jacob Weber
Wow, thanks for the quick responses. I'm looking into filters, since a lot of people seem to prefer them to overriding RequestProcessor. With filters, will I be able to use Struts functions like Mapping.findForward and Action.saveErrors? It seems like the filters happen before the relevant objects

Re: Overriding RequestProcessor for sesion validationi

2004-05-07 Thread GMaine
Wow, thanks for the quick responses. I'm looking into filters, since a lot of people seem to prefer them to overriding RequestProcessor. With filters, will I be able to use Struts functions like Mapping.findForward and Action.saveErrors? It seems like the filters happen before the relevant objects

Re: Overriding RequestProcessor for sesion validationi

2004-05-07 Thread Tom Vekemans
Tom - Original Message - From: "GMaine" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 07, 2004 6:30 PM Subject: Overriding RequestProcessor for sesion validationi > Hi. I wonder if someone can help me. I'm trying to override RequestProcessor

RE: Overriding RequestProcessor for sesion validationi

2004-05-07 Thread Joe Hertz
t: Friday, May 07, 2004 1:31 PM > To: Struts Users Mailing List > Subject: RE: Overriding RequestProcessor for sesion validationi > > > I had asked the same question some time ago and the consensus > was to use Filters and not RequestProcessor if you have the > appropriate ver

RE: Overriding RequestProcessor for sesion validationi

2004-05-07 Thread MARU, SOHIL (SBCSI)
Sent: Friday, May 07, 2004 11:31 AM To: [EMAIL PROTECTED] Subject: Overriding RequestProcessor for sesion validationi Hi. I wonder if someone can help me. I'm trying to override RequestProcessor to check whether a user has logged in. If he has, I'll let the request proceed. If not, I

RE: Overriding RequestProcessor for sesion validationi

2004-05-07 Thread Joe Hertz
L PROTECTED] On Behalf Of GMaine > Sent: Friday, May 07, 2004 12:31 PM > To: [EMAIL PROTECTED] > Subject: Overriding RequestProcessor for sesion validationi > > > Hi. I wonder if someone can help me. I'm trying to override > RequestProcessor to check whether a user has

Overriding RequestProcessor for sesion validationi

2004-05-07 Thread GMaine
Hi. I wonder if someone can help me. I'm trying to override RequestProcessor to check whether a user has logged in. If he has, I'll let the request proceed. If not, I'd like to forward him somewhere. The problem is, I need to display an error message if I'm redirecting the user. I'm trying to use