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 2003/12/05 19:15:07 UTC

DO NOT REPLY [Bug 25250] New: - JavaBean named Component cannot be used in JSP

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: tomcat-dev@jakarta.apache.org
        ReportedBy: jari.silvasti@kolumbus.fi


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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org