i created a javaservlet file.. registration.java and compiled it and added the class file in root/web-inf/classes folder.. in the action of the form i used /servlet/registration but when i try to run the serlvet the page displays a message : The requested resource (/servlet/Registration) is not available. where is the bug? jyotsana
Hi, Your catalog is 'ROOT', so you have to access the servlet by the form like '/Registration'. The accessing was right if you deployed the servlet's url pattern in the web.xml like '/servlet/Registration'.
Joined: Sep 26, 2003
i have my folder in root folder of tomcat and the servlet class file in root/web-inf/classes folder created .. and form action as: /servlet/Registration but even the it gives the same error jyotsana