String[] sMyArray = { "bob", "nancy"};

<input type="checkbox" name="Name" value="<%=sMyArray[0]%>">

--- Dave Daniels <[EMAIL PROTECTED]> wrote:
> How do I place form elements in an array? For example, in PHP I might
> do
> something like:
>
> <input type="checkbox" name="test[]" value="v1">
> <input type="checkbox" name="test[]" value="v2">
> <input type="checkbox" name="test[]" value="v3">
>
> The target of the form can then work with the array 'test'. Is there
> a
> similar feature with JSP?
>
> Dave
>
>
===========================================================================
> 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://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


=====
Steve
http://www.geocities.com/beforewisdom/

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.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://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

Reply via email to