tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Passey <kpas...@kdpsoftware.co.uk>
Subject RE: db taglibs questions
Date Mon, 15 Jul 2002 14:31:38 GMT
Igor,

Here is some of my code that displays database stuff in a table - I've only
given the row

 <TR>
                <td><sql:getColumn position="1"/></td>
                <td><sql:getColumn position="2"/></td>
                <td><sql:getColumn position="3"/></td>
                <td><sql:getColumn position="4"/></td>
                <td><sql:getColumn position="5"/></td>
                <td><sql:getColumn position="6"/></td>
                <td><sql:getColumn position="7"/></td>
                <td><sql:getColumn position="8"/></td>
                <td><sql:getColumn position="9"/></td>
                <td><sql:getColumn position="10"/></td>
                <td><sql:getColumn position="11"/></td>
                <td><sql:getColumn position="12"/></td>
                <td><sql:getColumn position="13"/></td>
                <td><sql:getColumn position="14"/></td>
   </TR>   

Hope this helps

Regards

Kevin Passey

-----Original Message-----
From: Igor Bursin [mailto:igoryan@sampo.ru]
Sent: 15 July 2002 15:06
To: taglibs-user@jakarta.apache.org
Subject: db taglibs questions


Hello!
I'm using DBTags Tag library.
I executes simple  query:
<sql:statement id="stmt1" conn="conn1">
<sql:query>
select string_value, number_value from my_table
</sql:query>
</sql:statement>
How i can output result:
<sql:setColumn position="1"> to the string or int variable (not to JSP
directly) ?
(i try <% A= <sql:setColumn position="1"> %>, but get error)

Best regards, Igor Bursin.


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message