chri...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed f618cd5

Initial revision

  • Participants
  • Parent commits ca1a034

Comments (0)

Files changed (1)

File src/webapp/silentTest.jsp

+<%@ page import="java.util.*" %>
+<%@ taglib uri="oscache" prefix="cache" %>
+<title>Test Page - Silent Mode</title>
+<style type="text/css">
+body {font-family: Arial, Verdana, Geneva, Helvetica, sans-serif}
+<a href="<%= request.getContextPath() %>/">Back to index</a><p>
+Testing the silent attribute...<br/>
+<cache:cache key="silentTest" mode="silent" duration="10s">
+This content was inserted into the cache silently. Duration = 10 seconds. Current time = <%= new Date() %>
+<br/>Some content has been silently cached<br/>
+<cache:cache key="silentTest">
+You should never get to see this text!