tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From teh j <tomcat_list2...@yahoo.com.au>
Subject inheritance and beans error
Date Fri, 01 Jun 2001 01:06:59 GMT
Hi there

I was wondering if anybody could help me out with
something?

I am using a java bean with a jsp. the bean however,
is a child of another bean that is used for another
part of the jsp application i am developing. what
happens though is that whenever i submit the form (in
the jsp) for processing by the bean, i get the
follwing error. If, however, i compile the bean again,
it works fine!

does anybody have any idea what is happening?



Error: 500
Location:
/test/jason/search_archive/search_archive_handler.jsp
Internal Servlet Error:

javax.servlet.ServletException: search.search
	at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)
	at
jason.search_0005farchive._0002fjason_0002fsearch_0005farchive_0002fsearch_0005farchive_0005fhandler_0002ejspsearch_0005farchive_0005fhandler_jsp_2._jspService(_0002fjason_0002fsearch_0005farchive_0002fsearch_0005farchive_0005fhandler_0002ejspsearch_0005farchive_0005fhandler_jsp_2.java:243)
	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.java:177)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
	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:797)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)

Root cause: 
java.lang.ClassCastException: search.search
	at
jason.search_0005farchive._0002fjason_0002fsearch_0005farchive_0002fsearch_0005farchive_0005fhandler_0002ejspsearch_0005farchive_0005fhandler_jsp_2._jspService(_0002fjason_0002fsearch_0005farchive_0002fsearch_0005farchive_0005fhandler_0002ejspsearch_0005farchive_0005fhandler_jsp_2.java:82)
	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.java:177)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
	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:797)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)



_____________________________________________________________________________
http://messenger.yahoo.com.au - Yahoo! Messenger
- Voice chat, mail alerts, stock quotes and favourite news and lots more!

Mime
View raw message