[Opensymphony-oscache] using oscache in oc4j

mathew <[email protected]> Thu, 08 Sep 2005 07:17:49 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <25924699.1126181899427.JavaMail.os-j2ee@opensymphony01.contegix.com>
Hi,
I am trying to use oscache in oc4j 10.1.3.0. And this is my code in web.xml file

	<filter>
    	<filter-name>CacheFilter</filter-name>
	    <filter-class>com.opensymphony.oscache.web.filter.CacheFilter</filter-class>
    	<init-param>
        	<param-name>time</param-name>
	        <param-value>600</param-value>
    	</init-param>
	    <init-param>
    	    <param-name>scope</param-name>
        	<param-value>application</param-value>
	    </init-param>
	</filter>

    <filter-mapping>
    	<filter-name>CacheFilter</filter-name>
	    <url-pattern>*.gif</url-pattern>
	</filter-mapping>

And this code instead of caching the images it doesn't even display the images. There is no error message too.

Can some one help me what is going wrong here?

Thanks
Mathew

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