This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
thanks for both your feedback, i fixed up my classes and tried suggestions, Unfortunately it is still not working (see below)
By way of background, I am completing the Head First servlets & JSP and I have encountered a problem on an excercise p85. This exercise is to help me understand that bigger problem while removing the tomcat complexity.
Could there be a problem with environment variables?
I fixed up the classes, as advised by Freddy as such
and in C:\JSPproject\beerV1\src\com\example\web there is
I then get
or using Bob's suggestion
Similarly, when I try compiling the other web folder first, I get
[ June 16, 2007: Message edited by: marten kay ] [ June 16, 2007: Message edited by: marten kay ]
One difference is where the compiled .class files are going to end up. The "-d classes" tells the compiler to put those in the "classes" directory. If you leave that out, they're going to end up in the same directory as the source files.