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
().startsWith("common_")) { getServletContext().getContext("/thinClient/common.do").getRequestDispatcher("/common.do").forward(request,response); return; } Scott From: [EMAIL PROTECTED] Sent: Thu 7/14/2005 10:37 AM To: user@struts.apache.org Subject: Forwarding in cu

Forwarding in custom RequestProcessor

2005-07-14 Thread Peter . Zoche
Hi! 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 to a corresponding error page