(Env: Tomcat 5.5.9)
I want to pass the collection object which is saved in the request to Tag file via attribute. Something like this:
jsp:
<tag1:showBook bookList="${myBookList}" />
tag file (tag1.tag)
<%@ attribute name="bookList" type="java.util.Collection" %>
But it throws the exception:
org.apache.jasper.JasperException: jsp.error.beans.property.conversionorg.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:885)
I looked into translated jsp code. The EL was not translated. "${myBookList}" is only taken as a String.
Please shed some lights on it. Thanks in advance.
allan
[ May 24, 2005: Message edited by: Allan Wang ]
I want to pass the collection object which is saved in the request to Tag file via attribute. Something like this:
jsp:
<tag1:showBook bookList="${myBookList}" />
tag file (tag1.tag)
<%@ attribute name="bookList" type="java.util.Collection" %>
But it throws the exception:
org.apache.jasper.JasperException: jsp.error.beans.property.conversionorg.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:885)
I looked into translated jsp code. The EL was not translated. "${myBookList}" is only taken as a String.
Please shed some lights on it. Thanks in advance.
allan
[ May 24, 2005: Message edited by: Allan Wang ]