DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29813>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29813

POST requests get redirected

           Summary: POST requests get redirected
           Product: Tomcat 5
           Version: 5.0.25
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Tomcat is redirecting POST requests to the default context if the requested URI
does not end in a slash.
I have a jsp that creates a form. It uses the POST method to submit the form. I
specify the context path in the action attribute of the form. If the context
path ends in a slash (mytest/) or a question mark followed by arguments
(mytest?user=test) then things work fine. If I have no slash at the end of the
context (mytest), then tomcat redirects to the default context. 
This failure does not occur in Tomcat 4.1.24

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

Reply via email to