Setting up Tomcat 5.0 CLASSPATH
843838Oct 25 2005 — edited Dec 12 2005I have recently upgraded from jswdk-1.0.1 to Tomcat 5.0.
I need to make a connection with MySQL.
I've managed to get the JSP examples working - no problems.
I can't get the Bean to connect to MySQL to compile. Following error messages:
package javax.servlet does not exist
import javax.servlet.*;
package javax.servlet.http does not exist
import javax.servlet.http.*;
package javax.servlet does not exist
import javax.servlet.ServletException;
cannot resolve symbol
symbol : class HttpServlet
location: class test.DBConnection
public class DBConnection extends HttpServlet
Looking around the net I would appear that I need to set my CLASSPATH to a servlet.jar in the server lib. I cannot find such a file.
Suggestions please, thanks S.