• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

To show refresh page after addition functionality

 
Greenhorn
Posts: 11
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 50
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic