Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Add Another button to add more records

 
senthil kumar
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you write any servlet? What have you done so far?
 
senthil kumar
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I have a servlet which gets the request and validates the user entered data.
 
Akhilesh Trivedi
Ranch Hand
Posts: 1599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where are you stuck then? What have you done so far?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic