Hi, I'm trying to compile a servlet which uses the executeQuery method of my connectionBean, stored in the connection package. When I try to compile the verifierUserServlet, I get the following message : *--------------------------------------------------------------------------- -------* | D:\jakarta-tomcat-3.2.3\webapps\login\WEB-INF\classes>javac verifierUserServlet. | | java | | verifierUserServlet.java:35: cannot resolve symbol | | symbol : variable connection | | location: class verifierUserServlet | | results = connection.executeQuery(sql); | | ^ | | 1 error | | ^ | | D:\jakarta-tomcat-3.2.3\webapps\login\WEB-INF\classes> | *--------------------------------------------------------------------------- -------* I tried to put the connection package in the CLASSPATH and to recompile the servlet. I got the same eror message. I've bean reading the docs but didn't see any explicite example. Can you help me please ? TIA. Chris ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
Error message when compiling a servlet using a package
BENARD Christophe, DDE 34/SG Mon, 20 Aug 2001 03:28:39 -0700
- Re: Error message when compiling a servlet us... BENARD Christophe, DDE 34/SG
- Re: Error message when compiling a servl... Geeta Ramani
- Re: Error message when compiling a servl... BENARD Christophe, DDE 34/SG
