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=14458>.
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=14458

Redirect to absolute URL does not work properly.

           Summary: Redirect to absolute URL does not work properly.
           Product: Struts
           Version: 1.1 Beta 2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Controller
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When I define a forward such as:
     <forward
        name="exit"
        redirect="true"
        path="http://jakarta.apache.org/"/>

the RequestProcessor always considers the path as relative. This is explicit in 
RequestProcessor.processForwardConfig(). 

In release 1.0.2, absolute path was processed properly in 
ActionServlet.processActionForward() by testing the following:
                if (path.startsWith("/"))
                    path = request.getContextPath() + path;

which disapeared in release 1.1 b2.

Thanks

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to