I tried to use a "while" statement as a scriplet but it didnīt work.

The code looks like this:

<%! String fname %>
<% String nextName=notebookBean.getNextFirstname();
    while (nextName != null) {%>
        nextName=<%= nextName %>;
<%  nextName = notebookBean.getNextFirstname();
   } %>

The same "idea" but written with an IF statement works but not with
the WHILE statement. Why?

I appreciate your help!

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