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

problem with form tag when deployed in 'root' context

           Summary: problem with form tag when deployed in 'root' context
           Product: Struts
           Version: 1.1 Beta 1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When deploying an application that uses the <html:form> tag in a root context, 
I get html like <form name="storyform" method="POST" action="//story/save.do"> -
 note the double '//' in the action.  I've tracked this down to line 754 of 
FormTag.  And by changing that to:

        StringBuffer value = new StringBuffer();
        if (request.getContextPath().length() > 1)
            value.append(request.getContextPath());

I've been able to remove the double '//'

I hope someone with appropriate permissions can get this into CVS.

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

Reply via email to