tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anand" <an...@columbus.rr.com>
Subject JNDI connection datasource
Date Sat, 03 Aug 2002 15:43:05 GMT
Shawn,

I have a connection string in the web.xml as follows:

<context-param>
  <param-name>
       javax.servlet.jsp.jstl.sql.dataSource
 </param-name>
 <paramvalue>

jdbc:microsoft:sqlserver://localhost:1433;SelectMethod=cursor;,com.microsoft
.jdbc.sqlserver.SQLServerDriver,ltd_user
 </param-value>
</context-param>

and my JSTL SQL have no problems getting the connection and executing the
commands.

But, I would like to use the JNDI datasource name 'ltd_ds' that was setup in
connection pool under my weblogic server.
You do talk about that it is possible to specifyJNDI datasource name in your
JSTl Book,
But there is no syntex or example given in  book.

I tried few of my own, but I could not get it working. Any thoughts on
this..

Thanks again,

Dave A






--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message