
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 caching in your JSP application.
Following are some Cache techniques it fulfills:-
Cache entry An object that's stored into a page cache is known as a cache entry. In a JSP application,a cache entry is typically the output of a JSP page, a portion of a JSP page, or a servlet.
Cache key A page cache is like a hash table. When you save a cache entry in a page cache, you mustprovide a cache key to identify the cache data. You can use keys like URI, other parameterslike username, ipaddress to indentify cache data.
Cache duration This is the period of time that a cache entry will remain in a page cache before it expires.When a cache entry expires, it's removed from the cache and will be regenerated again.
Cache scope This defines at what scope the data is stored application or session scope.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.