I am trying to create my first web app servlet working in a folder I created.
In the past my servlets worked in the tomcat 5.5 examples directory: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\servlets-examples\WEB-INF\classes
I have a file in here called HelloWorlda.java and it compiled and showed on my local web browser.
I also edited the web.xml in the WEB-INF as shown:
Now I want to create my own directory path: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\jones\WEB-INF\classes\email5 I compiled my new EmailServlet.java from the jones\WEB-INF\classes directory: javac email5\EmailServlet.java and it compiled.
I copied the web.xml from the servel-examples\WEB-INF directory and edited it as such:
After I put in the url in browser: http://127.0.0.1:8080/jones/servlet/email5/EmailServlet
I get error: The requested resource (/jones/servlet/email5/EmailServlet) is not available.
[ July 19, 2006: Message edited by: Joseph Smithern ] [ July 19, 2006: Message edited by: Joseph Smithern ]