You cannot put a tag inside a scriptlet.  Read the docs for DBTags at
http://jakarta.apache.org/taglibs/doc/dbtags-doc/index.html

It explains how to get the value into a page variable (hint: use the "to" attribute).

Lance Lavandowska
www.Brainopolis.com
 
----- Original Message ----- 
From: "Troy Campano" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 24, 2001 1:47 PM
Subject: DBTAGS and variables


> I am trying to make a variable that uses a value that comes from DBTAGS.
> 
> 
> So when it loops through the recordset and gets the values from the
> database, I'd like to do something like this:
> 
> 
> <% String myvar;
>   myvar = <sql:getColumn position="1"/>;
> %>

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to