uot;
maxActive="4"/>
--- web.xml ---
http://java.sun.com/dtd/web-app_2_3.dtd";>
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/20
01/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.co
ith same result.
thanks
--
Darryl Wagoner - WA1GON
"Evil triumphs when good men do nothing." - Edmund Burke [1729-1797]
Join the TrustedQSL mailing list. An Open Source solution.
Post message: [EMAIL PROTECTED] Subscribe: [EMAIL PROTECTED] List owner:
[EMAIL PROTECTED] http://
is jdbc/TestDB, so must the other.
--David
--
Darryl Wagoner - WA1GON
"Evil triumphs when good men do nothing." - Edmund Burke [1729-1797]
Join the TrustedQSL mailing list. An Open Source solution.
Post message: [EMAIL PROTECTED] Subscribe: [EMAIL PROTECTED] List owner:
[EMAIL PROTE
(Exception ne)
{
ne.printStackTrace();
}
%>
--
Darryl Wagoner - WA1GON
"Evil triumphs when good men do nothing." - Edmund Burke [1729-1797]
Join the TrustedQSL mailing list. An Open Source solution.
Post message: [EMAIL PROTECTED] Subscribe: [EMAIL P
");
rofDS = (javax.sql.DataSource)ctx.lookup("/rofDB");
out.println("after lookup");
}
catch (Exception ne)
{
out.println(ne.getMessage());
}
%>
--
Darryl Wagoner - WA1GON
"Evil triumphs when good men do nothing." - Edmund Burke [1729-
Peter Johnson wrote:
As shown in the examples
Context initContext = new InitialContext();
Context envContext = (Context)initContext.lookup("java:/comp/env");
DataSource ds = (DataSource)envContext.lookup("jdbc/rofDB");
Thanks for the quick reply! That has solved th