[Opensymphony-oscache] HOW TO RETRIEVE THE VALUE THAT is STORED IN CACHE?

dhayanidhi <[email protected]> Fri, 05 Aug 2005 07:45:58 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <27816666.1123246060354.JavaMail.os-j2ee@opensymphony01.contegix.com>
Hi everybody,
 I have a following code which caches the content

<%@ page 
language="java" import="java.util.jar.*"
contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"
%>
<%@ taglib uri="/oscache.tld" prefix="oscache" %>
<%@ page import="java.util.*"%>

Non cached date: <%= new Date() %><p>

<oscache:cache key="testcache" time="20" scope="application">
Cached date: <%= new Date() %> (manual refresh)<p>
</oscache:cache>


1)  How will i retrieve the cached content corresponding to the key "testcache" in my jsp?

2) where can i see the logs?

3) if i use the flush tag to clear the cached content in my jsp how will i know whether the content had been flushed from the memory or not?

4) Can you please send me some working code samples for oscache taglibraraies?

Thanks in Advance
Dhayanidhi

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=5129&messageID=12194#12194