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

Struts custom tags do not work reset the attributes under the tomcat 4.1.12

           Summary: Struts custom tags do not work reset the attributes
                    under the tomcat 4.1.12
           Product: Struts
           Version: 1.0.2 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In the <html:form> tag, the tag attributes are reset in the tag handler "release
()". However, Tomcat 4.1.12 strictly follows the spec to manage the custom tag 
lifecycle which will not invoke the handler "release" until the end of the jsp 
page. That is, if a struts custom tag is used more than once in a jsp page, 
then the attributes may be automcatically carried from the first tag to the 
second one.

For example, 
<html:form action = "abc">
</html:form>
<html:form action = "xyz">
</html:form>

The second form tag will use the name from the first form tag instead of 
reading from struts-config.xml.

I also noticed that all the struts tag have the similiar problem.

--
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