This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 9291
    
  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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: browser cache problem in firefox, using struts 1.2.9
 
Similar Threads
how to highlight error field in struts html form?
problem when downloading excel sheet from struts application using Internet explorer
Image is not updating properly
query regarding locale in struts
To upload a file using struts 1.2 and ajax