Hi,
I am working on cgi scripts in tomcat.
I did all the stuff for CGI in tomcat (Renaming jar file, uncommenting CGI
servlet and all).
When I access a simple ../hello.cgi, its working fine. But when use
parameters (../hello.cgi?name=user) its giving the NoSuchMethodError.
I tried googling and in many forums but of no use.
My system environment is:
Tomcat 5.0.27
JDK 1.3.1
Error:
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.NoSuchMethodError
at
org.apache.catalina.servlets.CGIServlet$CGIEnvironment.<init>(CGIServlet.java:731)
at org.apache.catalina.servlets.CGIServlet.doGet(CGIServlet.java:587)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Please guide me in right direction to resolve this issue.
Thanks,
Sridhar
--
View this message in context:
http://www.nabble.com/Tomcat-5.0.27%2C-JDK-1.3.1---NoSuchMethodError-in-CGIServlet%24CGIEnvironment-tp18260158p18260158.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]