Erik Weber wrote:

Bill, my login action is almost identical to yours up until the forward element, but I *am* losing the token. You said you thought this might happen if I redirected back to the login page instead of forwarding, but I don't even know how I would do that . . .

What version of Struts are you using?

Erik

I am using Struts 1.2; I haven't tested this in 1.1 yet. Is your input attribute set to the JSP you came from? It could be redirected if you were specifying a path for the local exception that resulted in a redirect. If you are not specifying a path than the default exception handler uses:

ActionForward forward = mapping.getInputForward();

If you get stuck I would debug the puppy -- simply set a breakpoint in the ExceptionHandler's execute method and see if the token field is getting whacked.

Bill Siggelkow


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



Reply via email to