Well .. you can have a class that represents a row of the table. Call it Class1. That is all fields from the table would be represented as private members. Also for each of the fields you would provide a public void setField(type field){} - setter method and public type getField(){} - getter method.
There also to be a mathching class (Class2) that will function to access the database, and populate the first class with data. Your JSP then would access the class1. From jsp you will have something like .. MyForm.class1.field1 Here field1 - must have a matching method in the class1 named getField1
Comments
public void setField(type field){} - setter method
and
public type getField(){} - getter method.
There also to be a mathching class (Class2) that will function to access the database, and populate the first class with data. Your JSP then would access the class1.
From jsp you will have something like ..
MyForm.class1.field1
Here field1 - must have a matching method in the class1 named getField1