This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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