This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using tomat 7.0.8. I am trying to access basic information in a database using the DAO (direct access object) design pattern. The problem I am having is that the data shows fine when I use a servlet. However, when trying to use a jsp file (which is preferred) I get an error that says the DAO object is not a recognized type. Here are the details:
Jsp That does not work
Up to this point I have not been using Ant or any kind of deployment software. I manually created my root folder brain(C:\Tomcat7.0\webapps\brain) and in it are my jsp files. The WEB-INF folder that has the classes folder, in which are all the classes, is also in brain.(C:\Tomcat7.0\webapps\brain\WEB-INF\classes). To ensure clarity here is the main part of the error message that Tomcat spits out: