Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP reading from cache...

 
Rohan Patil
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Every one,
My JSP page is reading the data from cache, is there anything to sort out this problem ?
Thanks in advance.

Regards
Rohan
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What data from what cache?
 
ss_java
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wht web server r u using?
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ss_java" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy. User names cannot be obviously fake and also must constist of a first name and a last name.

You can change your user name here.

Thanks! and welcome to the JavaRanch!
 
Rohan Patil
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am using Tomcat server.




Originally posted by ss_java:
wht web server r u using?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it caching at the browser?
Try clearing your browsers cache (Temporary Internet Files, in MSIE).

Also, if you add a "?" to the end of your URL in the browser's window, it will trick the browser into thinking that you are looking for a new page and won't use the cached version.

If it turns out to be a browser issue, there are steps you can take to prevent this. Google on "Pragma No-Cache JSP"

http://www.google.com/search?hl=en&lr=&q=PRAGMA+NO-CACHE+JSP&btnG=Search
You'll find lots of tips.

Occasionally, if the datestamps your JSP files get out of synch on the server, Tomcat (or any other JSP engine) will fail to re-compile your JSPs.
When this happens, just delete the TOMCAT_HOME/work directory and it will force a recompile of all your pages.
[ February 26, 2005: Message edited by: Ben Souther ]
 
Yes, my master! Here is the tiny ad you asked for:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!