wood burning stoves 2.0*
The moose likes Struts and the fly likes Page not refreshing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Page not refreshing" Watch "Page not refreshing" New topic
Author

Page not refreshing

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
Hi all,

I am new to struts...
I have a page where I can add/edit/delete data and show the data I have added/edited. The problem is that when I am adding/editing the data the updated value is not getting updated in the listed values shown i.e the page is not refreshing automatically after the response is coming from the server.
If I refresh the page manually then the updated value is getting shown.

Please help.

Kousik


Thanks in Advance,
Kousik
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
This might be caused by the browser caching your pages. Try adding the following to your struts-config.xml file and see if that corrects the problem:

[ April 27, 2008: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Page not refreshing
 
Similar Threads
How to solve refresh problem in JSP
how to avoid blinking of page when it refreshes
How to Update the entity in ejb3.0
Not able to refresh the table
How to refresh html page?(urgent)