hi, I'm using struts and hibernate for a project I'm doing now but i encounter a problem.
I have created a form for user to input their data. Before that, there is a button to link to that page. But after the user submits the form for the first time, there is no problem. However, when the user clicks to link to the page again, it still contains the data entered by the previous user.
How do we refresh the page so that it is a blank, new page?
When you say "new page", are you referring to a web page?
Last edited by John; 05-30-2007 at 01:35 PM.
If this is for a webpage it would be JavaScript and the code is below:
HTML Code:<a href="javascript:location.reload(true)">Refresh page</a>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks