August 7, 2008 at 12:29 PM
Instead of iterating the resultset object in the JSP, do the iteration in SERVLET and populate in VECTOR. Then set the VECTOR in request attibute. Then get that vecor and iterate in the JSP[Before that check the vector is 'null' or not]. I think this is the right way to do the things.
August 11, 2008 at 2:46 PM
Yes....this is right but some error is there....
<% //this should be like this..." %> "
<TD> <INPUT TYPE="RADIO" NAME="empid" value="<%=rs.getInt(1) %>"> <%= rs.getInt(1) %> </TD>
</TR> // Aftr this there should be an opening for jsp code.so one like this " <% "
} //then again one closing. " %> "