oscache

Ads

 
 

Share on Google+Share on Google+

Divya
oscache
1 Answer(s)      8 years ago
Posted in : Framework
Ads
View Answers

February 13, 2009 at 12:39 AM


Hi friend,

Code to help in solving the problem :

Do mapping in the web.xml for caching:

<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>session</param-value>
</init-param>
</filter>

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

Thanks

Ads









Related Tutorials/Questions & Answers:
oscache - Framework
oscache  Hi, I want to cache simple java objects using oscache api. e.g. After fetching data from databse, i want to cache the result in a list and whenever i make the hit to same set of data then the data shoiuld come from
Version of opensymphony>oscache dependency
List of Version of opensymphony>oscache dependency
Advertisements
Version of jpox>jpox-oscache dependency
List of Version of jpox>jpox-oscache dependency
Maven Dependency oscache >> 2.0.2
You should include the dependency code given in this page to add Maven Dependency of opensymphony >> oscache version2.0.2 in your project
Maven Dependency oscache >> 2.1
You should include the dependency code given in this page to add Maven Dependency of opensymphony >> oscache version2.1 in your project
Maven Dependency oscache >> 2.1.1
You should include the dependency code given in this page to add Maven Dependency of opensymphony >> oscache version2.1.1 in your project
Maven Dependency oscache >> 2.3
You should include the dependency code given in this page to add Maven Dependency of opensymphony >> oscache version2.3 in your project
Maven Dependency oscache >> 2.4
You should include the dependency code given in this page to add Maven Dependency of opensymphony >> oscache version2.4 in your project
Maven Dependency oscache >> 2.4.1
You should include the dependency code given in this page to add Maven Dependency of opensymphony >> oscache version2.4.1 in your project
Maven Dependency jpox-oscache >> 1.1.2
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-oscache version1.1.2 in your project
Maven Dependency jpox-oscache >> 1.1.9
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-oscache version1.1.9 in your project
Maven Dependency jpox-oscache >> 1.2.0-beta-3
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-oscache version1.2.0-beta-3 in your project
Maven Dependency jpox-oscache >> 2.1.1
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-oscache version2.1.1 in your project
Maven Dependency jpox-oscache >> 1.1.3
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-oscache version1.1.3 in your project
Maven Dependency jpox-oscache >> 1.1.8
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-oscache version1.1.8 in your project
Maven Dependency jpox-oscache >> 1.2.0-beta-1
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-oscache version1.2.0-beta-1 in your project
Maven Dependency jpox-oscache >> 1.2.0-beta-2
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-oscache version1.2.0-beta-2 in your project
Maven Dependency jpox-oscache >> 1.2.0-beta-4
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-oscache version1.2.0-beta-4 in your project
Maven Dependency jpox-oscache >> 1.2.0-beta-5
You should include the dependency code given in this page to add Maven Dependency of jpox >> jpox-oscache version1.2.0-beta-5 in your project
JSP
JSP  how did you implement caching in jsp   OSCache is an open-source caching library that's available free of charge from theOpenSymphony organization. OSCache has a set of JSP tags that make it easy to implement page