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

JavaBean named Component cannot be used in JSP

           Summary: JavaBean named Component cannot be used in JSP
           Product: Tomcat 4
           Version: 4.1.29
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper 2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Using JavaBean named Component throws Jasper exception no matter what the full 
path of a JavaBean is.

<jsp:useBean id="myBean" class="my.files.Component">
        <jsp:setProperty name="myBean" property="id" value="something" />
</jsp:useBean>

Code above throws an exception from JspRuntimeLibrary.introspecthelper even 
though Component bean is fully functional JavaBean. Jasper cannot find the setId 
method from the bean.

My workaround was to rename the JavaBean.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to