I am a beginner JSP/Servlet writer and I'm having a problem which is probably simple.
I am trying to create a
jsp that uses a
servlet to connect to a database and display, if they user is a member, it displays information and if not, it sends them back to the login page.
I am using two
java files to do this, one is a servlet (Controller.java) that controls the information between the jsp and the second file (DBConn.java), which connects to the DB and creates an object which has the user info in it, and then returns it to the servlet.
DBConn compiles but Controller does not see the class DBConn. Here is the code for Controller.java
The DBConn source is:
Any ideas?
Thanks