File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Page not refreshing" Watch "Page not refreshing" New topic

Page not refreshing

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 237
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.


Thanks in Advance,
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 ]

Consultant, Sima Solutions
I agree. Here's the link:
subject: Page not refreshing
It's not a secret anymore!