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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to