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 are created. So wouldn't I run into the same
problems?

How would you return a user to an error page, and display an error message
using filters?
Thanks,
Jacob


----- Original Message ----- 
> 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 standard Struts classes like ActionErrors. But
> RequestProcessor doesn't have access to the Action.saveErrors method. Is
> there another way to put ActionErrors into the response?



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

Reply via email to