This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Add an element with a .jsp file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "Add an element with a .jsp file" Watch "Add an element with a .jsp file" New topic

Add an element with a .jsp file

Jeff Dube
Ranch Hand

Joined: Jun 14, 2001
Posts: 44
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???
Have you checked out Aspose?
subject: Add an element with a .jsp file
It's not a secret anymore!