This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes browser cache problem in firefox, using struts 1.2.9 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "browser cache problem in firefox, using struts 1.2.9" Watch "browser cache problem in firefox, using struts 1.2.9" New topic
Author

browser cache problem in firefox, using struts 1.2.9

a kishore
Ranch Hand

Joined: Sep 16, 2009
Posts: 82
Hi Everybody,

Im using struts 1.2.9 in my project. Im using firefox as browser and i have the browser cache problem, ofcourse also same in IE. Can anyone suggest me how to remove the cache. Im already using the line in struts-config.xml like this:



but im not sure whether this is correct or not because i never use any tiles in my project.

if my question is not clear please let me know. I need the solution very urgently.


thank you,
kishore
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9374
    
  19

To prevent caching, you'll have to use some headers in the JSP pages. See this for details...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
a kishore
Ranch Hand

Joined: Sep 16, 2009
Posts: 82
Hi Ankit Garg,


Thanks for your reply, but im sorry to say that i have tried all the options and few options together also. But still my cache problem remains same.
Is there anything that im missing anywhere? please suggest me.

thank you,
kishore
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: browser cache problem in firefox, using struts 1.2.9
 
It's not a secret anymore!