u can use the struts taglib for a quick and clean solution.
goto http://jakarta.apache.org and look for struts. In particular.. look at
the logic tag
using it is very simple:
<select>
<logic:iterate id="val" name="nameofarrayofstrings"
scope="whereeveruputit">
<option><%=val%>
</logic:iterate>
</select>
-Tim
-----Original Message-----
From: panos periorellis [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 4:48 AM
To: [EMAIL PROTECTED]
Subject: COmbo BOxes
Could someone tell me how do i feed data into a combo box..
i have a array of string which i want to upload in a combo box ....
how do i do it... i know in asp we did
<%=additem array.[i]
what is the JSP equivelant..
regards
panos
===========================================================================
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
===========================================================================
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