Return-Path: Delivered-To: apmail-jakarta-taglibs-user-archive@apache.org Received: (qmail 4828 invoked from network); 3 Sep 2002 02:52:33 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Sep 2002 02:52:33 -0000 Received: (qmail 11312 invoked by uid 97); 3 Sep 2002 02:53:10 -0000 Delivered-To: qmlist-jakarta-archive-taglibs-user@jakarta.apache.org Received: (qmail 11279 invoked by uid 97); 3 Sep 2002 02:53:08 -0000 Mailing-List: contact taglibs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tag Libraries Users List" Reply-To: "Tag Libraries Users List" Delivered-To: mailing list taglibs-user@jakarta.apache.org Received: (qmail 11254 invoked by uid 98); 3 Sep 2002 02:53:06 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Mon, 2 Sep 2002 22:52:14 -0400 (EDT) From: Shawn Bayern X-Sender: bayern@precision To: Tag Libraries Users List , gisellas@yachay.net Subject: Re: extending JSTL In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 2 Sep 2002, Gisella Saavedra wrote: > I would like to extend the SQL tags by adding a tag for > stored procedures. Which is the recommended way about extending > this tag library? JSTL is a standard, and while our implementation is open-source, it can't be brought out of compliance with the specification. The JSTL expert group considered support for JDBC CallableStatements but decided, at least for JSTL 1.0, that the need wasn't yet compelling and was perhaps at odds with the design goals for the SQL tag libraries. If you have an opinion, the best way to inform the expert group is to send a message to jsr-52-comments@jcp.org Features can be added in future versions of JSTL. When new versions of the specification are released, our implementation will begin to comply with them. > I noticed that when there are no records returned from a query, the > ${result.rowCount} returns NULL. I guess this is a bug. This seems to work for me (on the Standard Taglib 1.0.1 release): <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %> create table foo ( foo integer ) select * from foo insert into foo values(0) select * from foo Against my sample database, this outputs 0 followed by 1. In what environment does the expression fail for you? Could I see an entire page? -- Shawn Bayern "JSTL in Action" http://www.jstlbook.com -- To unsubscribe, e-mail: For additional commands, e-mail: