Beginning Javaservpages Exercise in Ch 22
WROX books do not tell you whether you must have all your web files under your Apache Tomcat root directory. For deploys out of the ... localhost directory I am for now choosing to store them in a different root directory. The book does say you must put the chapter22.xml in the ... localhost directory for Tomcat to see - and I am doing that.
The error that is occuring:
2008-06-05 20:17:16 StandardWrapperValve[FormProcServlet]: Allocate exception for servlet FormProcServlet
javax.servlet.ServletException: Wrapper cannot find servlet class com.wrox.begjsp.ch22.name.FormProc or a class it depends on.
The exercise is to execute 'FormProc.java'.
I didn't think a container would compile java code. I am reading it will compile a jsp file into java code. I would have thought I needed to store a 'FormProc.class' file.
There are import operators in said code, but I assume the JVM/Container can locate them in the java root directory.
Any ideas what is happening?