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