Hi Chris:
Looks like maybe you didn't declare the variable "connection"..? You may want to
check that.
Cheers,
Geeta
"BENARD Christophe, DDE 34/SG" wrote:
> 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
___________________________________________________________________________
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