You could start with the sql:query custom tag in the jakarta taglibs
project. See:
http://jakarta.apache.org/taglibs
That code generates a table from the ResultSet, but you could easily modify
it to do what you want.
--
Martin Cooper
Tumbleweed Communications
----- Original Message -----
From: "Jurrius, Mark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 12, 2000 8:37 AM
Subject: For-Loop Custom Tag
> Can anybody provide me with an example or point me in the right direction
as
> to how I can make a custom tag that runs a SQL query where it populates an
> HTML SELECT-OPTION list using a FOR loop and one of the options might be
> selected?
>
> Thanks in advance.
>
> Mark
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets