tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul DuBois <>
Subject JSTL doc inconsistency, and a question
Date Mon, 17 Dec 2001 01:51:52 GMT
The inconsistency:

The JSTL docs for the sql tags seem to be inconsistent about the
specification of attributes for the <sql:driver> tag.  In some cases
the URL attribute is called "url", in other places it's call "jdbcURL".
(The latter appears to be correct.)

Also, a question. The SQL tag documentation says:

>All parameters, except for "password", can be specified via an action
>attribute or a context init parameter (see below). Action attributes
>take precedence over context init parameters. The password configuration
>parameter can only be specified via a context init parameter to prevent
>situations where sensitive information would be hard coded in a JSP
>The context init parameters are:
>*	javax.servlet.jsp.jstl.sql.driver.driver
>*	javax.servlet.jsp.jstl.sql.driver.url
>*	javax.servlet.jsp.jstl.sql.driver.user
>*	javax.servlet.jsp.jstl.sql.driver.password

I wouldn't mind seeing an example of how you set up and reference these
context init params from within a JSP page/JSTL tags.  I'm assuming
you set them up as <context-param> entries in WEB-INF/web.xml
but after grepping through the standard-examples application it's
not clear to me from the docs whether that's really so or the intended
syntax for accessing them.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message