You could try importing java.sql.Connection (not javax.sql.Connection).
Maybe this would help.
Regards,
Andy
-Original Message-
From: Sexy Prague
To: [EMAIL PROTECTED]
Sent: 05/09/2004 18:12
Subject: Connection class unknown...
Hello everybody,
I've got a problem with creating
Sexy Prague wrote:
Hello everybody,
I've got a problem with creating Connection object in my jsp where I'd
like to use DB.
I use JNDI and this is the code of my jsp's scriptlet:
Context initContext = new InitialContext();
Context envContext = (Context)initContext.lookup(java:/comp/env);