sivaprasad kondapalli wrote:
> Can anyone help me out....with Jython and Tomcat..
> I got the following error when i executed my
> Internal Servlet Error:java.lang.NoClassDefFoundError:
> I set jython.jar in my classpath,and my tomcat is wroking properly,and I
> can able to compile using "jythonc JythonServlet.py".
> I placed the "JythonServlet*.class" files in "/WEB-INF/classes" directory.
Sounds like Jython isn't in Tomcat's classpath. Putting it in yours before
starting Tomcat won't work, because Tomcat rebuilds the classpath from scratch.
Assuming Tomcat 4.x, copy jython.jar into $TOMCAT_HOME/common/lib then restart
Tomcat. (Same idea for 3.x, but the path will be slightly different.)
David Ripton dripton@...