DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14259>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14259 RedirectingActionForward to external URL's stopped working ------- Additional Comments From [EMAIL PROTECTED] 2002-11-07 13:26 ------- This is an excerpt of RequestProcessor 1.20 dated 2002/11/05. How can an absolute URL redirect work ? The URI is always prefixed with the context path. Suppose your RedirectingActionForward object contains "http://server/something.do" and the current webapp is myapp, the RequestProcessor will try to redirect to: "/myapp/http://server/something.do" /** * Forward or redirect to the specified destination, by the specified * mechanism. * This method uses the 1.1b2 ForwardConfig object. It should be used in * place of processActionForward(...). * * @param request The servlet request we are processing * @param response The servlet response we are creating * @param forward The ForwardConfig controlling where we go next * * @exception IOException if an input/output error occurs * @exception ServletException if a servlet exception occurs */ protected void processForwardConfig(HttpServletRequest request, HttpServletResponse response, ForwardConfig forward) throws IOException, ServletException { if (forward == null) { return; } if (log.isDebugEnabled()) { log.debug("processForwardConfig(" + forward + ")"); } String uri = RequestUtils.forwardURL(request, forward); if (forward.getRedirect()) { response.sendRedirect (response.encodeRedirectURL(request.getContextPath() + uri)); } else { doForward(uri, request, response); } } -- To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>