I am using a servlet with name HelloWorldServlet by using http://localhost:8080/chapter01/servlet/HelloWorldServlet where servlet is a virtual directory which don't exist. what changes do i have to make to access this servlet without using /servlet ie by using http://localhost:8080/chapter01/HelloWorldServlet
~ Pratibha Malhotra<br /> <br />Sun Certified Java Programmer<br />SCEA 1.4 (In Progress)<br />~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />"Many of life's failures are people who did not realize how close they were to success when they gave up!!"
In order to avoid various problems, all Java classes used in servlets or JSP should be put in a package. Remember that the location under WEB-INF\classes must reflect the package naming. Bill
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.