is it possible to re-use an existing sql:query variable?

2002-11-25 Thread Mark Goking
is it possible to re-use an existing sql:query variable? e..g. sql:query var=test /sql:query and then i usde it in a forEach c:forEach var=t items=${test.rows} c:out value=${t.test}/ /c:forEach now.. i want to use it in another forEach c:forEach var=t items=${test.rows}

Possible bug?

2002-11-25 Thread David Durant
Hi, I'd like to post this to the mailing list to see if I'm making a mistake or it's a know problem before I add it to the bug database. Ref: DBTAGS taglib displaying request SQL when second request on the same page returns no results. Please consider the following section of JSP:

How to use JSTL XSLT tags with result attribute

2002-11-25 Thread matsuhashi
Hi, I am wondering how to use JSTL XML x:transform tag with result attribute. I am using the jakarta-taglibs/standard-1.0.2 with Tomcat 4.1.3 on Windows2000. I have a String variable ${pipeline_final_output_String} within the request scope in which a XML document is contained. I needed to

Re: [Howto] use c:import with varReader to import/parse large XMLfile ?

2002-11-25 Thread Shawn Bayern
On Mon, 25 Nov 2002, smallufo wrote: I have a big XML file (about 500Kbytes) , while using general x:parse var=doc c:import url=/xxx.xml/ /x:parse x:out select=$doc//xxx/ It costs a lot of time (about 12~14 seconds) to select nodes. I wonder if varReader can improve the efficiency, I

Re: is it possible to re-use an existing sql:query variable?

2002-11-25 Thread Shawn Bayern
On Mon, 25 Nov 2002, Mark Goking wrote: is it possible to re-use an existing sql:query variable? Yes. c:forEach var=t items=${test.rows} c:out value=${t.test}/ /c:forEach now.. i want to use it in another forEach c:forEach var=t items=${test.rows} c:out value=${t.test}/

Re: How to use JSTL XSLT tags with result attribute

2002-11-25 Thread Hans Bergsten
[EMAIL PROTECTED] wrote: Hi, I am wondering how to use JSTL XML x:transform tag with result attribute. I am using the jakarta-taglibs/standard-1.0.2 with Tomcat 4.1.3 on Windows2000. I have a String variable ${pipeline_final_output_String} within the request scope in which a XML document is

Dbtags dumps SQL code to output page on empty result

2002-11-25 Thread VP Research
We're using the dbtags tag library (v 1.0) to retrieve and format data from a back-end database in a Struts web-app. When a query has no results, the SQL code for the query will appear in the output page. This may be useful for debugging in some cases, but since empty results are expected in our

Re: How to use JSTL XSLT tags with result attribute

2002-11-25 Thread matsuhashi
Thank you, Hans. Inspired by your reply, I got the following JSP code. It worked! - %@ taglib uri=/WEB-INF/c.tld prefix=c % %@ taglib uri=/WEB-INF/x.tld prefix=x % h3raw Model/h3 c:import var=xslturl2