You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by mike spisak <mi...@spisak.org> on 2003/10/29 14:49:44 UTC
colName not working in DBTags
Hi All::
I have searched the mail archive and found some similar postings but
nothing that describes my particular problem. Perhaps someone can provide
some insight:
I am using DBtags and when I use the tag:
<sql:resultSet id="rset2">
my data1 = <sql:getColumn postion="1"/><br>
my data2 = <sql:getColumn postion="2"/><br>
my data3 = <sql:getColumn postion="3"/><br>
</sql:resultSet>
things work okay. But when I use the same tag with "colName" instead of
"position":
<sql:resultSet id="rset2">
my data1 = <sql:getColumn colName="myData1"/><br>
my data2 = <sql:getColumn colName="myData2"/><br>
my data3 = <sql:getColumn colName="myData3"/><br>
</sql:resultSet>
the values for myData2 and myData3 are being pulled from myData1. In other
words, the value retrieved from the first "getColumn" tag appears to be
"cached" and is being returned for all other "getColumn" tags.
Now, this is _only_ happening when I deploy on a Resin server. This works
find on Tomcat 3.2.1, 3.2.3, 4.0.1, and 4.0.4 on windows. But when I
deploy on Resin 2.1.2 on windows or Resin 2.1.6 on Linux this is what
happens...
Can anyone shed some light on this??
Thanks in advance, Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org