Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Syed Khaleel
browser cache
3 Answer(s)      3 years and 2 months ago
Posted in : JSP-Interview Questions


how can we clear browser cache?


Advertisement
View Answers

December 27, 2011 at 12:28 PM


Put the given code in your jsp:

<% response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
   response.setHeader("Pragma","no-cache"); //HTTP 1.0 
   response.setDateHeader ("Expires", 0);
%>


December 27, 2011 at 12:28 PM


In the section add meta tag:

<meta http-equiv="pragma" content="no-cache" />


December 27, 2011 at 2:53 PM


Thanks Alot



Related Tutorials/Questions & Answers:
browser cache
browser cache  how can we clear browser cache
how can clear the browser cache memory using java script
how can clear the browser cache memory using java script  how can clear the browser cache memory using java script
Advertisements
browser
browser  how to make a browser
browser
browser  hello this is saurav srivastav, thank you for sending the cvode for creating the menu item, but I want the code for file open and save frame in the swing because I am working on my project Browser and one more problem
what is the java cache system?
what is the java cache system?  To send the webapplication of java cache system
cache php code
cache php code  Basically, i'm looking for a code to cache the content of webpage in server side
Lean yum cache
Lean yum cache  How to clean yum cache in order to claim the disk space?   Hi, You can use the following command: yum clean all Thanks
Clear UIWebView cache iPhone
Clear UIWebView cache iPhone  Hi, In my iPhone application ..i am using a UIWebView to load different URL on it. But i am afraid that it 's not releasing the memory. Can anyone please explain me how to load and release
Second level cache
and how do I refresh( reload) my second level cache. Please advise, and ignore my
tomcat cache - JSP-Servlet
tomcat cache  hai friends i have a query that is i want to remove the cache memory from Tomcat server Automatically using jsp without deleting it manually from work folder because every time when i make any changes
What is the default cache service of hibernate?
What is the default cache service of hibernate?  Hi, What is the default cache service of hibernate? Thanks
cache creation in java - Java Beginners
cache creation in java  Hi All, I am planing to create cache in my web application. please send me the some sample code to create cache by using org.apache.oro.utils package. please help me out. Thanks, mln15584
java cache management - Development process
java cache management  I have written a code in cache management and when i use this in server .The results of other(subsequent) users is displayed... it is appending the results of others.I feel that if i change the cache
cache refresh after 24 hours
cache refresh after 24 hours  I have developed an application which uses websphere application server 6.1 which needs to query the database(oracle) after every 24 hours periodically.But it is not getting executed properly because
yum clear cache
yum clear cache In this tutorial I will tell you how you can delete the cached file by yum utility. The yum utility downloads and saves the file in cache... system then you should delete the cache. What is yum? The Yellow dog Updater
Cache creation using java - Java Beginners
Cache creation using java  Hi All, I am developing a web application, I have a plan to use cache in that application. I used jsp caching with the help of jsp taglib. But I want to write code in a java class,not in the jsp
Browser issue
Browser issue  how can i close popup windows in mozilla browser and return back to the parent page
browser - WebSevices
browser  I use morzila as my default browser. i u to educate on how I can increase my browser's speed
how to create and use cache in j2me? - MobileApplications
how to create and use cache in j2me?  Hi everyone, I am a student in Viet Nam! I am coding project j2me using caching but what by I do not begin, please hepl me!  Hi Friend, Please visit the following link: http
Implementing a Least-Recently-Used(LRU) Cache
Implementing a Least-Recently-Used(LRU) Cache  ... the least-recently- used(LRU) cache in Java. LRU Cache helps you how to use... create a LRU(least-recently-used) Cache and manage it efficiently. Here the given
How to Install Alternative PHP Cache (APC)?
How to Install Alternative PHP Cache (APC)? Learn how to install APC on Linux machine? The Alternative PHP Cache (APC) can be used to increase the performance of your PHP applications. The APC is a free, open source cache system
prevent browser refresh
prevent browser refresh   prevent browser from refresh in Javascript
we browser - WebSevices
we browser  tell me the concept of web browser... can i develop a web browser
difference from browser to browser - JSP-Servlet
difference from browser to browser  I am developing a project in jsp. When browse in mozilla it works good and when I open it with IE there is a difference how to overcome this problem.Thanks in advance
SWT Browser
SWT Browser       This section shows you SWT Browser In SWT, the class Browser of package org.eclipse.swt.browser allows to create a browser. In the given example, the class
Browser's back button
Browser's back button  how to redirect to a home page when browser's back button is pressed in jsp instead of displaying the previous page
Enable Browser's back button
Enable Browser's back button  how to redirect to a home page when browser's back button is pressed in jsp instead of displaying the previous page
Browser's back button
Browser's back button  how to redirect to a home page when browser's back button is pressed in jsp instead of displaying the previous page
HTML on a single browser
HTML on a single browser  My page looks good on one browser, but not on another
php download file browser
php download file browser  limiting downloading file system via browser only through my web application
 

 

 

DMCA.com