RE: How to access initParameters in the dbtags library?

2002-04-04 Thread Lev Pelekh
The reason I had to switch from JSTL to DBTags was that JSTL creates a new connection for every statement. In case of multiple inserts, that makes it very difficult to obtain the autoincrement value of the last insert. lev. -Original Message- From: Agrawal, Anuj (Anuj)** CTR ** [mailto:[

Comment: JSTL SQL and auto-increment keys

2002-04-02 Thread Lev Pelekh
Hello, There seems to be a limitation in JSTL SQL taglib. As new connection is made for every query and update tag, in case of multiple inserts it makes it difficult to obtain the value of an auto-increment key from the last insert. One workaround is to use transactions, but that is a fairly adv

RE: testing on empty string or null with jstl

2002-04-02 Thread Lev Pelekh
Wim, I am new to JSTL, but I seems to me that your test expressions is malformed. According to A.2.1 of JSTL spec, mixing EL and text as part of an attribute concatenates the text and the results of EL evaluation. Furthermore, I think that only binary "and" operator is supported. Try using this e

Question on processing forms with dynamic field names using taglibs

2002-04-01 Thread Lev Pelekh
Hello everyone, I am new, so the usual preemptive apologies are in order. I am attempting to process a form in which I am constructing field names at runtime. I can't seem to be able to do that with any of Jakarta Taglibs without resorting to scriplets. Request taglib seems to have no capability