Exception --while using jsp chart tag library

Options
mann
edited February 11, 2022 in Analytics #1
Hi,
I want to create chart by using jsp chart libray on web page
I got some example in chart engine download.
they r using *.chart file to create chart.
but i want to pass java object to create chart
for that i created one java file which creates the chart
but i m getting this exception



type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 34 in the jsp file: /index1.jsp
SideBySideBar cannot be resolved
31:

32:
33: Bar Chart:
34: <chart:renderChart width="400" height="300"
35: model="<%=SideBySideBar.createSideBySideBar( )%>">
36: </chart:renderChart>
37:



Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.



So wht shd i do?
where to put the java class file?
please help me

thanks
mann