aspose file tools*
The moose likes Servlets and the fly likes Dynamically insert a row in an HTML table Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Dynamically insert a row in an HTML table" Watch "Dynamically insert a row in an HTML table" New topic
Author

Dynamically insert a row in an HTML table

Nabha Panat
Greenhorn

Joined: Jul 19, 2001
Posts: 14
Hi,
Can anyone suggest a solution to the following problem :
I have an HTML table (or a JSP) with say 5 rows. This HTML is thrown by a servlet.
Depending on some user inputs, I want to insert a row in the table.. say at position 2.. i.e a row should get inserted in between the existing rows and not get appended to the existing rows.
thanks in advance !!
Nabha Panat
Greenhorn

Joined: Jul 19, 2001
Posts: 14
Hi....
can anyone give a solution to my problem ??
its a bit urgent !!!
Kareem Gad
Ranch Hand

Joined: Aug 06, 2001
Posts: 89
can u be more specific,
i mean on when do u exactly intend to insert that row ?
before during or after the result has come back to the client browser
------------------
KaReEm


<b><i>KaReEm</i><br /><ul type="square"><li>SCJP-Free Range Web Developer <br /></ul></b>
Nabha Panat
Greenhorn

Joined: Jul 19, 2001
Posts: 14
hi Kareem ...
whenever the user performs a certain action (let's not go into the details of that.. since it is specific to my application), the request goes back to the servlet which will contain the logic to insert row. So in the servlet i am actually inserting the row and the HTML page is generated and shown to the user.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamically insert a row in an HTML table
 
Similar Threads
Help me to use Jtable selection please....
doubt in html
Updation of child table.
JDBC & JSP
expand table row