Hallo all, I've problem in JSP file. the simple code is : ... ... ... <% while (rset.next()) { if (rset.getRow() == 5 ) break; %> rset.getString(1); rset.getString(2); ... ... <%} rset.close() %> it's always get Error <<...>> <<...>> But when I elimate the code : if (rset.getRow() == 5 ) break; It runs. Is it because running in JSP file so the code is not run ? thanks a lot //pap =========================================================================== 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