I am just starting to learn JSP and having some difficulties (I am very familiar in ASP.NET).

I have a JSP page to which I added a table at design time.
Then, I am going over some items from a database table and I want to insert those items to the table I created. The table has 2 columns: 'id1' and 'id2'.

while (result.res.next())
int a = result.res.getInt(1);
int b = result.res.getInt(1);

How do I put those values in the table I created?

Thank you in advance,