i have a table in my page in a following format when i click the buuton it add another row of data insertion how can i do it plz help[ me. Seq.NO code DESCRIPTION 1 somedata somedata BUUTTON
: i have a table in my page in a following format when i click the buuton it add another row of data insertion how can i do it plz help[ me. : Seq.NO code DESCRIPTION : 1 somedata somedata BUUTTON : : : : MORE INFORMATION NEEDED from where you load ur data into table? here I suppose you load them from a database....when you click the button the data will be inserted in the database and the page will be refreshed then in ur jsp page you must have following code
Comments
: Seq.NO code DESCRIPTION
: 1 somedata somedata BUUTTON
:
:
:
:
MORE INFORMATION NEEDED from where you load ur data into table?
here I suppose you load them from a database....when you click the button the data will be inserted in the database and the page will be refreshed
then in ur jsp page you must have following code
<%
ArrayList tableData = db.getMyData();
for(int i=0 ; i<tableData.size() ; i++)
{
myData = tableData.get(i);
%>
}
%>