hi all,

sorry.. the syntax for the .jsp should be:

<%
                fruits = foo.getFruit();
%>
<ul>
<%
    if (!fruits[0].equals("1")) {
          for (int i = 0; i < fruits.length; i++) {
%>
<li>
<%
                  out.println (fruits[i]);
          }
        } else out.println ("none selected");
%>

===========================================================================
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

Reply via email to