calculate the length of the array. and in a for loop file the combo box.
for (int i=0; i < arr.length(); i++)
{
%>
<option value="arr[1]">arr[i]</option>
<%
}
Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-3140
-----Original Message-----
From: panos periorellis [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 1: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