In Chapter 14 of Shawn Bayern's "JSTL In Action", he talks about setting up a default data source for JSTL. He shows how to add <context-param> tags to the web.xml deployment descriptor on page 352, and below that says the parameter name for the default data source is javax.servlet.jsp.jstl.sql.dataSource.
But he doesn't show an example of how to use it in the JSP. Forgive me for being dense, but does anyone have an example of what this should look like? I've got this for a web.xml: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>Data Source Tester</display-name> <description>Data Source Tester</description> <context-param> <param-name> javax.servlet.jsp.jstl.sql.dataSource </param-name> <param-value> java:comp/env/jdbc/Conference </param-value> </context-param> <resource-ref> <description>Conference Data</description> <res-ref-name>jdbc/Conference</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> </web-app> What is the name of the default data source in this case? Is it <sql.setDataSource dataSource="javax.servlet.jsp.jstl.sql.dataSource"/> ? Thanks - MOD __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]