You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/05/07 05:30:50 UTC
DO NOT REPLY [Bug 8850] New: -
Stray 's not caught
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=8850>.
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=8850
Stray </jsp:useBean>'s not caught
Summary: Stray </jsp:useBean>'s not caught
Product: Tomcat 4
Version: 4.0.1 Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: jeff@socialchange.net.au
Hi,
Consider this JSP page:
<jsp:useBean id="viewname" class="ParamBean" scope="session"/>
<jsp:setProperty name="viewname" property="paramValue" value="foo"/>
</jsp:useBean>
If you look closely, the first line is actually <jsp:useBean ... />, ie NOT
enclosing the jsp:setProperty. It would be nice (if still spec compliant) if
Jasper could notice that the </jsp:useBean> tag has no partner, and throw an
exception. This is what Caucho's Resin engine does.
--Jeff
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>