File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 9280
    
  17

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: browser cache problem in firefox, using struts 1.2.9
 
Similar Threads
problem when downloading excel sheet from struts application using Internet explorer
Image is not updating properly
how to highlight error field in struts html form?
To upload a file using struts 1.2 and ajax
query regarding locale in struts