CeWolf and JSP  
Author Message
claudio.salmin





PostPosted: 2005-2-10 0:01:00 Top

java-programmer, CeWolf and JSP Hi, I'm Claudio, I'm a student and I want to use ceWolf for my graphs
in JSP pages. I visited the web site http://cewolf.sourceforge.net/
and i followed each pass of the tutorial but I don't visualize the
chart, there is an exeption: NullPointerException in cewolf_jsp.java
row 202:
int _jspx_eval_cewolf_img_0 = _jspx_th_cewolf_img_0.doStartTag();


In the JSP, if I delete this row:
<cewolf:img chartid="line" renderer="cewolf" width="400"
height="300"/>
all go ok, but obviously there isn't the chart.

Could you help me, please!
Thanks, Claudio
 
claudio.salmin





PostPosted: 2005-2-10 0:02:00 Top

java-programmer >> CeWolf and JSP Hi, I'm Claudio, I'm a student and I want to use ceWolf for my graphs
in JSP pages. I visited the web site http://cewolf.sourceforge.net/
and i followed each pass of the tutorial but I don't visualize the
chart, there is an exeption: NullPointerException in cewolf_jsp.java
row 202:
int _jspx_eval_cewolf_img_0 = _jspx_th_cewolf_img_0.doStartTag();


In the JSP, if I delete this row:
<cewolf:img chartid="line" renderer="cewolf" width="400"
height="300"/>
all go ok, but obviously there isn't the chart.

Could you help me, please!
Thanks, Claudio
 
proximuss





PostPosted: 2005-2-28 21:04:00 Top

java-programmer >> CeWolf and JSP Well, this is a one of many errors that are unknown for me. Do you using
LINUX/UNIX ?. Because under this OS cewolf does not works good.
(Maybe now yes : )

Go to cewolf page>faq an read more.

My terminal project broke at charts, because server, on wich is my webapp
is LINUX server.

If you are using or Windows, try reload application more than once and
restart jsp/servlet engine.
But most important is "good" wroten web.xml, like
in cewolf example "cewolf.war", download it ...


If still nothing,
try "jfreechart" or "charting" or any other library.

Hi, proximuss from Slovakia ...

 
 
quickcur





PostPosted: 2006-3-21 15:23:00 Top

java-programmer >> CeWolf and JSP 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

 
 
quickcur





PostPosted: 2006-3-22 6:50:00 Top

java-programmer >> CeWolf and JSP Anyone has an idea?

 
 
Oliver Wong





PostPosted: 2006-3-22 7:05:00 Top

java-programmer >> CeWolf and JSP <email***@***.com> wrote in message
news:email***@***.com...
> Anyone has an idea?
>

See http://www.catb.org/~esr/faqs/smart-questions.html#id266352

Some people recommend waiting a 168 hours (i.e. 1 week) before getting
impatient about nobody answering your question. You've only waited 15 hours.

Have you tried asking on the forum at
http://cewolf.sourceforge.net/new/index.html ?

- Oliver