aspose file tools*
The moose likes JSP and the fly likes Add Another button to add more records Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Add Another button to add more records" Watch "Add Another button to add more records" New topic
Author

Add Another button to add more records

senthil kumar
Greenhorn

Joined: Mar 19, 2008
Posts: 15
Hi,

I have a jsp page where I can enter student information like:

name -- textbox

addres -- textbox

city -- textbox

state -- textbox


I have a button called Add Another Student in that page. If I click that it has to show a jsp page which user can enter another student with the above same fields. In that page I have Add Another student which allows user to enter another student. Finally when they submit I have to add this to database.

can somebody help me how to do this in jsp or javascript?

Thanks
senthil
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1558
Did you write any servlet? What have you done so far?


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
senthil kumar
Greenhorn

Joined: Mar 19, 2008
Posts: 15
Yes, I have a servlet which gets the request and validates the user entered data.
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1558
Where are you stuck then? What have you done so far?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Add Another button to add more records