u need to import the java.sql as well in ur jsp

-----Original Message-----
From: Predict AG - Christian Ribeaud
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 25, 2000 7:10 PM
To: [EMAIL PROTECTED]
Subject: [jsp]<script></script>


Hi,

I am trying to write a .jsp. I work with a database pool connection. I read
the following in a faq to instantiate the DBConnectionManager. What exactly
does the <script RUNAT="SERVER"><script> mean? I am using the
JavaWebServer2.0.
Here is the script?

<script RUNAT="SERVER">
DBConnectionManager connMgr = DBConnectionManager.getInstance();
</script>

And here the error I got:

500 Internal Server Error
Java Server Page Translation Error
Error during compilation :
E:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_login.java:80: Undefined
variable or class name: connMgr
Connection con = connMgr.getConnection("access");

Thanks a lot for the help.

Christian Ribeaud
Predict AG

___________________________________________________________________________
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

Reply via email to