tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amitkumar J Malhotra" <Amitkumar_J_Malho...@ril.com>
Subject RE: db tags installation problem
Date Fri, 30 Nov 2001 14:20:46 GMT


hello,

 thanx a lot for the reply.....it's really gr8

this is an exampl e also from the same users guide,

<%@ taglib uri="/WEB-INF/dbtags.tld" prefix="sql" %>   --> i have tried all the
combinations here.....i really mean everything

   <sql:connection id="conn1">
      <sql:url>jdbc:odbc:db2</sql:url>
       <sql:driver>sun.jdbc.odbc.JdbcOdbcDriver</sql:driver>
   </sql:connection>


   <table>
      <sql:statement id="stmt1" conn="conn1">
         <sql:query>select * from crude</sql:query>
          <sql:resultset id="rset2">
             <tr>
                <td><sql:getColumn position="1"/></td>
                <td><sql:getColumn position="2"/></td>
                <td><sql:getColumn position="3"/></td>
               </tr>
          </sql:resultset>
      </sql:statement>
     </table>


   <sql:closeConnection conn="conn1"/>



</font>
</body>
</html>

please see if ou could help me out,

best rgds
amit malhotra



--
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