• Post Reply Bookmark Topic Watch Topic
  • New Topic

Add an element with a .jsp file  RSS feed

Jeff Dube
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am working with a html table that contains a form.
This form have a input tag --> <input type="text"...>
and 2 buttons ("add" and "submit".>

Here's what i need to do:
I want my "add" button to call a jsp(<%@ include... %> that insert a new text area (<input type="text"...> into a new row of the table (<tr> <td> <center> <input type="text"...>...</tr> ).
I am using this way because my page can have 1 or multiple text area and it would be too long to insert a fix number of area.
The problem is that i don't know how to call a jsp "function" or tag(?) with a button and i don't know how to make it appear at the right place inside the table. How can i manage these pages to be well adapted to my needs?
Hope my question is clear enough???
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!