Servlet not working
843836Jan 24 2005 — edited Jan 24 2005I installed (unzipped) Tomcat 5.0.19 on WIndows XP. When I uncomment the servlet mapping in the global web.xml, then i get lot of errors when i start the tomcat. Also then neither html or jsp pages work on the server, even though it says tomcat server has started properly.
when i do not uncomment the servlet mapping in web.xml, then no errors are displayed while starting. it starts successful. but servlet does not work at all. rest all works. i tried to test the servlets from the apache tomcat website, it did not work.
i have placed the class file in webapps\mydirectory\WEB-INF\classess directory and java file related to servlet in webapps\mydevelopment directory along with jsps and html files.
Can anyone tell why I cant run servlets?? my JAVA_HOME and CLASSPATH are set correctly since jsps and html is working.