404 after adding web.xml

2008-11-12 Thread Shoan Motwani
I am a java noob. Been trying out the examples from Oreilly's Head First Servlets JSP. I am using Tomcat 5.5 running on Mac Os X 10.5. I created webapps/Beer-v1 and dropped in a plain html file. On accessing it at http://localhost:8080/Beer-v1/form.html, I get the html page as expected. But

RE: 404 after adding web.xml

2008-11-12 Thread Caldarale, Charles R
From: Shoan Motwani [mailto:[EMAIL PROTECTED] Subject: 404 after adding web.xml But after adding webapp/WEB-INF/web.xml containing the following, I don't get anything other than a 404. Look in the Tomcat logs for error messages about deployment of your webapp. servlet-mapping

Re: 404 after adding web.xml

2008-11-12 Thread Shoan Motwani
On Thu, Nov 13, 2008 at 9:14 AM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Shoan Motwani [mailto:[EMAIL PROTECTED] Subject: 404 after adding web.xml But after adding webapp/WEB-INF/web.xml containing the following, I don't get anything other than a 404. Look in the Tomcat logs