Oh! That never occurred to me. Are the <context-param> tags that I added to my web.xml correct?
Thanks again for your expert advice, Shawn. - MOD --- Shawn Bayern <[EMAIL PROTECTED]> wrote: > On Fri, 6 Jun 2003, Michael Duffy wrote: > > > 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. > > In the JSP pages, JSTL tags will automatically sense > the default > DataSource that you have established and will > acquire connections from it > as necessary. When you set a default, you don't > need to use the > <sql:setDataSource> tag at all; this tag is useful > only in cases where you > haven't established (or want to override) the > default. > > -- > Shawn Bayern > "JSTL in Action" http://www.manning.com/bayern > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________ 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]