You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by gl...@apache.org on 2001/03/04 19:58:23 UTC
cvs commit: jakarta-taglibs/jdbc/conf jdbc.tld
glenn 01/03/04 10:58:23
Modified: jdbc/conf jdbc.tld
Log:
Add support for JNDI named JDBC DataSource, contributed by Rich Catlett.
Revision Changes Path
1.8 +20 -1 jakarta-taglibs/jdbc/conf/jdbc.tld
Index: jdbc.tld
===================================================================
RCS file: /home/cvs/jakarta-taglibs/jdbc/conf/jdbc.tld,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- jdbc.tld 2001/02/28 19:03:26 1.7
+++ jdbc.tld 2001/03/04 18:58:22 1.8
@@ -49,6 +49,11 @@
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
+ <name>jndiName</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
<name>dataSource</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
@@ -82,7 +87,21 @@
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
-
+
+ <tag>
+ <name>jndiname</name>
+ <tagclass>org.apache.taglibs.jdbc.connection.JndiNameTag</tagclass>
+ <bodycontent>JSP</bodycontent>
+ <info>Sets the jndi named javax.sql.DataSource for the enclosing
+connection tag according to the initParameter, if specified, or the
+body of the tag. The tag body will be trimmed.</info>
+ <attribute>
+ <name>initParameter</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ </tag>
+
<tag>
<name>userId</name>
<tagclass>org.apache.taglibs.jdbc.connection.UserIdTag</tagclass>