Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To show refresh page after addition functionality

 
Simar Suvir
Greenhorn
Posts: 11
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My jsp page has an ID field which gets auto incremented each time. There are 3 user functionalities "Add" , "Modify" and "Delete" . Now my issue is once I fill in the values and click on add, the datas gets added in the data base but the page remains the same without refreshed. I need that once the add is clicked, the page should get refreshed with empty fields and just the ID field auto incremented.

Kindly help me.
 
Nam Ha
Ranch Hand
Posts: 50
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think after Add, Modify, Delete you redirect user back to the jsp page with a variable holds new value for ID.

It would be helpful you post your code here.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic