This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Add an element with a .jsp file

 
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???
Thanks
Jeff
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic