Your problem is that you seem to be struggling to use the IDE. If you're not familiar with it, you'll waste more time trying to make things run than it would take you to do it one the command line. If you still want to use Eclipse, look for an online tutorial which explains the steps to make a web application.
My problem is in creating the exact same directory structure as the book using Eclipse. I am somewhat familiar with the IDE as I have worked on it for over a year and would really want to use it instead of command line.
When I create a new server and add a project to it, the folders for the server are also created in my workspace. The book says that all the folders, web.xml and the class file should be created in the original folder where Tomcat was installed.
Please let me know if my question is not clear enough.
Joined: Mar 30, 2009
I finally figured out the directory structure and could go past the first deployment of servlet