cewolf and jsp


2006-03-22 03:49:52 AM
jbuilder22
Hi, I use cewolf to put chart in jsp in tomcat. Here is my code
<jsp:useBean id="zc" class="gov.lbl.biosig.struts.zc.ZCData"/>
<cewolf:chart
id="line"
title="ZC"
type="xy"
xaxislabel="Gradient"
yaxislabel="Count">
<cewolf:data>
<cewolf:producer id="zc">
<cewolf:param name="datasetid" value="90"/>
</cewolf:producer>
</cewolf:data>
</cewolf:chart>
<p>
<cewolf:img chartid="line" renderer="cewolf" width="400" height="300"/>
But I got the following error message: (basically, it complains the
line of <cewolf:param name="datasetid" value="90"/>
- Servlet.service() for servlet jsp threw exception
javax.servlet.jsp.JspException: ServletException in
'/pages/mainLayout.jsp': Ser
vletException in '/pages/login.jsp':
jsp.error.beans.property.conversion
at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(Inser
tTag.java:921)
at
org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)
at
org.apache.jsp.index_jsp._jspx_meth_tiles_insert_0(org.apache.jsp.ind
ex_jsp:87)
at
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:60)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:325)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
95)
at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:214)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:526)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Thread.java:595)
Could anyone help?
Thanks,
qq