I'm trying to include a servlet in a servlet.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Satish_jayanthi
Posted On:   Monday, April 2, 2001 04:58 PM

I get a RequestDispatcher object successfully. Then, I try to call the include method on it. I get the following error: java.lang.NoSuchMethodError at org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl.java:243) at SsiTest.doGet(SsiTest.java:25) at javax.servlet.http.HttpServlet.service(HttpServlet.java:534) at javax.servlet.http.HttpServlet.service(HttpServlet.java:639) 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(   More>>

I get a RequestDispatcher object successfully.
Then, I try to call the include method on it.

I get the following error:



java.lang.NoSuchMethodError
at org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl.java:243)
at SsiTest.doGet(SsiTest.java:25)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:534)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:639)
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)

   <<Less
About | Sitemap | Contact