Subject: Redirect problem using Struts 1.0.2 in WebSphere 4.0.2
From: "Don Miller" <[EMAIL PROTECTED]>
 ===
I'm developing a Struts v1.0.2 application in WebSphere v4.0.2 and have
encountered a problem with redirection.  When a forward.redirect = true,
Struts prepends the forward.path with the context path via
request.getContextPath() before it encodes the path via
response.encodeRedirectURL().  In WebSphere 4.0, encodeRedirectURL() also
prepends the given path with the context path.  The end result is a URL with
the context path duplicated.  This also occurs when using the logic:forward
and logic:redirect tags.

Has anyone also seen this behavior and created a work-around?

Thanks,
Don



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

Reply via email to