Re: Forwarding in custom RequestProcessor

2005-07-14 Thread Wendy Smoak
From: <[EMAIL PROTECTED]> > I have extended the RequestProcessor's processPreprocess() method > in order to perform a simple user authentication mechanism using > cookies. If a cookie identifying a user is found, but the users member- > ship has expired, I would like him to be forwarded/redirected

Re: Forwarding in custom RequestProcessor

2005-07-14 Thread Jeff Beal
request.getRequestProcessor() --> request.getRequestDispatcher() On 7/14/05, Jeff Beal <[EMAIL PROTECTED]> wrote: > Calling just request.getRequestProcessor() effectively exits the - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Forwarding in custom RequestProcessor

2005-07-14 Thread Jeff Beal
Calling just request.getRequestProcessor() effectively exits the Struts environment since the request object doesn't know anything about struts_config.xml. You need to use the method and fields of the RequestProcessor instead. Try this: ActionForward expireForward = moduleConfig.findForwardConfi

RE: Forwarding in custom RequestProcessor

2005-07-14 Thread Mulligan, Scott H
I extended the RequestProcessor to forward between two web applications. The following code is what I use to forward to an action that the other web application has. Then the other web application can define an action that can handle forwarding to whatever jsp it wants. if (forward.getName().sta