I'm having trouble running any servlets that I've made on Tomcat. I think it may be a class path problem but I'm not sure. Its with simple post forms. When I hit the submint button this is what tomcat tells me:
HTTP Status 500 -
type Exception report
description The server encountered an internal error () that prevented it from fulfilling this request.
All sorts of bizarre things can happen when you rely on the invoker servlet. MUCH better to bite the bullet and define your servlet properly in web.xml. See the JavaRanch FAQ entry for the invoker. Note that Tomcat totally ignores your environment CLASSPATH - see the "Class Loader how-to" page that got installed with your Tomcat to understand where Tomcat looks for classes.
Well, taht got rid of the errors. Now it just tells me the requested resource is not available. Any ideas for that one?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Probably there is some error in your web.xml so that the URL you are using is not getting translated to the servlet name. Note that web.xml is picky about the order of elements. You really should have a copy of the Servlet API for the definitive explanation of web.xml contents. Download from this Sun web page. Bill