hi there good people....
i do apoligise if this question is somehow off-topic....
k,

ResultSet result = stmt.executeQuery("select * from a table");
        out.println(beginTable);
        int  i= 1;
        while(result.next())
        {
        out.println(beginrow);
        out.println(bengincol);
        out.println(result.getString("titulo"));
        out.println(endcol);
        out.println(endrow);
           }
           out.println(endTable);
         return ;

the intention of this loop is to return a <html> table, but the problem is
it only runs once, meaning that only the first row of the database is
read.... and all the others are simply neglected....
can anyone explain me how come????
thankx in advance for your time
wills

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to