Dima Gutzeit wrote:
You can use the JSTL way , not JNDI directly.
put the following in the we.xml of your application
javax.servlet.jsp.jstl.sql.dataSource
jdbc:mysql://your.ip/dbname,driver.name,user,password
? I'm no expert here, but in my
But then there will be no connection pooling !
Igor
-Original Message-
From: Dima Gutzeit [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 11:33 AM
To: Tag Libraries Users List
Subject: Re: Cannot access JNDI datasource from SQL JSTL
You can use the JSTL way , not JNDI
;
Hope it helps.
Regards ,
Dima Gutzeit.
- Original Message -
From: "Igor Dombrovan" <[EMAIL PROTECTED]>
To: "'Tag Libraries Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, December 30, 2003 10:26 AM
Subject: RE: Cannot access JNDI datasource
code still works ok.
I feel stupid but I can't get what's wrong.
Igor
-Original Message-
From: Igor Dombrovan [mailto:[EMAIL PROTECTED]
Sent: Monday, December 29, 2003 8:55 PM
To: [EMAIL PROTECTED]
Subject: Cannot access JNDI datasource from SQL JSTL
Hi everybody
I'm stuc
[mailto:[EMAIL PROTECTED]
Sent: Monday, December 29, 2003 9:24 PM
To: Tag Libraries Users List
Subject: Re: Cannot access JNDI datasource from SQL JSTL
In your JSTL example, you've got:
select ID,AMOUNT from ORDERS
but the exception message states:
select ID,NAME from CUST;
Is your element n
In your JSTL example, you've got:
select ID,AMOUNT from ORDERS
but the exception message states:
select ID,NAME from CUST;
Is your element nested within some other tag(s)? If so, please give
a complete example of how it's being used.
Quoting Igor Dombrovan <[EMAIL PROTECTED]>:
> Hi everybody
Hi everybody
I'm stuck and out of ideas. Maybe anybody could help me to get up on my
feet.
I've got tomcat-4.1.29 on WinXP Pro, j2sdk-1.4.2_01,
jakarta-taglibs-standard-current-1.0.4, Firebird 1.5 with FirebirdSQL-1.0.1
I've setup a JNDI datasource like this :
START OF server.xml PIECE