JSTL sql:driver

2002-03-02 Thread Agrawal, Anuj (Anuj)** CTR **
In the documentation for JSTL SQL tags (http://jakarta.apache.org/taglibs/doc/standard-doc/standard-ea3/DB_Function alDescription_1_EA3.html), it indicates that the sql:driver action is only intended for prototyping and simple applications. Is the better way to use DataSource object? If so, how

Re: recordcount?

2002-03-02 Thread Shawn Bayern
On Sat, 2 Mar 2002, Agrawal, Anuj (Anuj)** CTR ** wrote: After using the JSTL sql:query var=myQuery action, is there an easy way to obtain myQuery.recordcount? Basically a count of the number of records returned by the query. Yes: myQuery.size. The 'Result' interface that sql:query

RE: JSTL sql:driver

2002-03-02 Thread Agrawal, Anuj (Anuj)** CTR **
Thanks for the info. One follow-up question: I tried putting (in WEB-INF\web.xml): context-param param-namedbUrl/param-name param-valuejdbc:odbc:anuj/param-value /context-param context-param param-namedbDriver/param-name