Hi all
I have another problem...
I have my JSP.. in it i have a for which paint a table put i want to use the
continue sentence, but it is not possible, how can i do to skip next for...
The example is here
-- <% HoraAMinutos query1=null;
-- HoraAMinutos delfor1=null;
-- HoraAMinutos query2=null;
-- HoraAMinutos delfor2=null;
-- boolean lun=false;
-- boolean mar=false;
-- boolean mie=false;
-- boolean jue=false;
-- boolean vie=false;
-- boolean sab=false;
-- boolean dom=false; %>
--
-- <%for(int i=0;i<BeanListaHora.getNumeroHora();i++) {%>
-- <% Hora h=BeanListaHora.getHora(i); %>
-- <%delfor1=new HoraAMinutos(h.getInicio());%>
-- <%delfor2=new HoraAMinutos(h.getTermino());%>
-- <tr>
-- <td width="14%"><font size="1"><%=h.getInicio()%> -
<%=h.getTermino()%></font></td>
-- <%for(int
j=0;j<BeanHorarioAlumnoLista.getNumeroHorarioAlumno();j++){ %>
-- <%HorarioAlumno ha = BeanHorarioAlumnoLista.getHorarioAlumno(j); %>
-- <%query1=new HoraAMinutos(ha.getInicio());%>
-- <%query2=new HoraAMinutos(ha.getTermino());%>
-- <%if(query1.getNumeroTotalMinutos() ==
delfor1.getNumeroTotalMinutos() ) {%>
-- <%if(ha.getDia().equals("LUNES") && lun==false){%>
-- <td width="10%"><font
size="1"><%=ha.getCurso()%><%=ha.getAula()%><%=ha.getSeccion()%></font></td>
-- <% lun=true; continue;%>
-- <% }else{ %>
-- <td width="10%"><font size="1"></font></td>
-- <% lun=true; continue;%>
-- <% } %>
when i use continue the JSPCompiler throws a Error and i dont know how fix
it, besides i need to use continue because in my program i need to skip the
next ... how can fix it, or what sentence should i use to do skipping
thanks
Christian Hamann Linares
Area de Desarrollo de Aplicaciones
FICS-DATA USMP
e-mail: [EMAIL PROTECTED]
----- Original Message -----
From: G.Nagarajan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 27, 2000 3:46 AM
Subject: Re: Urgent.. servlet with images
===========================================================================
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