|
||||||
| Java Help Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
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? |
| Sponsored Links |
|
|
|
|||||
|
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>
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bottom of the page? | Vojkan | HTML Programming | 10 | 11-25-2007 12:01 AM |
| Page Refresh | dirkfirst | PHP Forum | 2 | 11-01-2006 12:46 AM |
| Question: Link to parts of a page | skilletsteve | HTML Programming | 3 | 08-29-2006 04:15 PM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |