File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

browser cache problem in firefox, using struts 1.2.9

 
a kishore
Ranch Hand
Posts: 82
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9496
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To prevent caching, you'll have to use some headers in the JSP pages. See this for details...
 
a kishore
Ranch Hand
Posts: 82
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic