aspose file tools*
The moose likes Struts and the fly likes To show refresh page after addition functionality Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "To show refresh page after addition functionality" Watch "To show refresh page after addition functionality" New topic
Author

To show refresh page after addition functionality

Simar Suvir
Greenhorn

Joined: Jul 29, 2011
Posts: 11

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

Joined: Aug 05, 2011
Posts: 50

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.


Java Object Creation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: To show refresh page after addition functionality