Two Laptop Bag
The moose likes Struts and the fly likes Page not refreshing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Page not refreshing" Watch "Page not refreshing" New topic
Author

Page not refreshing

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 219
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Page not refreshing
 
Similar Threads
How to refresh html page?(urgent)
how to avoid blinking of page when it refreshes
How to Update the entity in ejb3.0
How to solve refresh problem in JSP
Not able to refresh the table