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

<html:form> generates absolute URLs - should be relative?

           Summary: <html:form> generates absolute URLs - should be
                    relative?
           Product: Struts
           Version: 1.0.2 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The <html:form> tag generates a server-absolute URL in the generated <form> 
tags action attribute. This causes problems in a proxy environment, where good 
old apache is used with ProxyPass/ProxyPassReverse directives to access a 
Tomcat standalone server - the absolute URLs will be missinterpreted by the 
browser and the prefix of the ProxyPass directive will be lost. I derived 
myself an own tag from yours, calculating automatically from the given absolute 
URL a relative one to the actual request (starting always with a "./") - but i 
think, that this is a common problem and could be of general interest. 
Furthermore, there may be other tags which have the same problem, as well as 
redirect mappings executed via the browser.
Despite of this suggestion, i had some problems after deriving a tag from yours 
with the class loader of the JSP servlet class within tomcat - see Bug nr. 9375 
for details.

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

Reply via email to