tags:

views:

17

answers:

0

I've got tomcat 6.0 installed and was just creating my first jsp/servlet application. i set my directory as .../tomcat 6.0/webbapps/sella my folder is the name sella as you know. i created the first .jsp file and placed it in the above directory on my fisrt browse on mozilla it worked well as expected in the tutorial. i created a ../tomcat 6.0/webbapps/sella/WEB-INF . ../tomcat 6.0/webbapps/sella/WEB-INF/classes . ../tomcat 6.0/webbapps/sella/WEB-INF/lib i created a web.xml and placed it in ../tomcat 6.0/webbapps/sella/WEB-INF i created my HelloWorld.java and placed it in ../tomcat 6.0/webbapps/sella/WEB-INF/classes remember it is compiled. it was just running very well but when i added another servlet in web.xml with just the right mapping . what i did was to copy the HelloWorld servlet and changed the names. when i stop and start tomcat 6.0 and tried to access the page again it displayed erro 404 the requested resource not available. when i try to get to the jsp page also the same error comes. i removed the servlet i added saved the change and again i did the stop start in tomcat but still the error comes. could anyone who is able to configure this problem help.