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/11/13 21:06:08 UTC
DO NOT REPLY [Bug 14524] New: -
Struts custom tags do not work reset the attributes under the tomcat 4.1.12
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: struts-dev@jakarta.apache.org
ReportedBy: lpeng@tahoenetworks.com
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>