You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/06/10 06:53:40 UTC

DO NOT REPLY [Bug 9734] New: - problem with form tag when deployed in 'root' context

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: struts-dev@jakarta.apache.org
        ReportedBy: dim@bigpond.net.au


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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>