I am creating a web application using a
JSP and a
java class, UtteranceInfo. The JSP creates a UtteranceInfo object and uses it. I am having trouble setting up the project in Eclipse. I created a new project making the project contents directory the root directory of my web application. Then I created a new package, utterance, that will contain the UtteranceInfo class. The compiled version of this class must reside in the WEB-INF/classes/utterance directory.
I am confused because when I create the package, the utterance folder is placed in the web application root directory and then also appears under the WEB-INF/classes directory. Initially, the compiled .class file appeared under the WEB-INF/classes directory. But then when I made changes to the UtteranceInfo.java file, I can not find the newly compiled .class file. I see the old .class file under WEB-INF/classes. When I delete the old .class file under WEB-INF/classes directory I can not see where the new .class file is getting created.
Can someone direct me to a place where I can find instructions on how to setup a project in Eclipse of this type? I have several books:
Tomcat the Definitive Guide
SCWCD Exam Study Kit
The Developer's Guide to Eclipse
I have also installed the Lomboz plugin which is handy for editting the jsp, but I don't understand how to utilize its full functionality. I am going to Microcenter tonight and will purchase any book you can recommend that would help me with this kind of setup.
Thank you for any assistance you can provide to me in setting up my work environment for this project!