tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valeriy Molyakov" <val...@kompan.com.ua>
Subject Re: Problem accessing a bean from a jsp page...
Date Thu, 22 Mar 2001 09:19:59 GMT
Hi Jason !

Problem may be in jsp not in bean.

Try call jsp without use bean.

----- Original Message -----
From: "Jason Sardano" <jsardano@northgeo.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Wednesday, March 21, 2001 7:47 PM
Subject: Problem accessing a bean from a jsp page...


>
> I created a jsp page that uses a custom bean. When I try to access the jsp
> page, I get the error listed below. I don't understand what is going on;
my
> java file compiled correctly, I put the package in my jsp page's
> WEB-INF\classes directory, yet I receive this error. Does anyone have any
> suggestions?
>
> Thank you,
> Jason Sardano
>
> Error: 500
> Location: /lobster/index.jsp
> Internal Servlet Error:
>
> javax.servlet.ServletException: JasonTest/DataBean
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled
> Code)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> at org.apache.tomcat.core.Handler.service(Handler.java:286)
> at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:210)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> Compiled Code)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> Compiled Code)
> at java.lang.Thread.run(Thread.java:479)
>
> Root cause:
> java.lang.NoClassDefFoundError: JasonTest/DataBean
> at
>
_0002findex_0002ejspindex_jsp_0._jspService(_0002findex_0002ejspindex_jsp_0.
> java:66)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:177)
> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java, Compiled
> Code)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> at org.apache.tomcat.core.Handler.service(Handler.java:286)
> at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
> at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:210)
> at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> Compiled Code)
> at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> Compiled Code)
> at java.lang.Thread.run(Thread.java:479)
>
>
>
>
> Northern Geomantics
> 146 Second Street
> Hallowell, Maine 04347
> Ph:(207)623-9226 Fax:(207)623-9229
> http://www.northgeo.com
>
>
>


Mime
View raw message