This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I don't know if you are using an IDE like netbeans or eclipse ? Each of those has their own file structure for the project for creating the project. The problem might also be your web.xml.
When the servlet is deployed to Tomcat \ webapps\ the reverse.html goes directly under the project directory
Here is my web.xml, please note my servlet is named reverse2 instead of reverse. Your web.xml needs to know where the html file is and where the servlet is. Your html needs to be in the <welcome-file-list> xml.
Dan Rh Jones
Joined: Aug 16, 2011
I'll give that a bash in a while
subject: What should my folder structure look like for the servlets assignment?