This week's book giveaway is in the Beginning Java forum. We're giving away four copies of Getting started with Java programming language and have Ashish Sarin & J Sharma on-line! See this thread for details.
I have couple of doubts.
I want to use ehcache to cache HTML files, but they are outside of the WAR and included using tomcat docbase.
Is it possible to cache them.
Second doubt is the HTML files are dynamically included in jsp, e.g., depending on the url parameters, the path is created and before including, a check is there whether HTML file exists
This is how its done in my application
if responseCode is 200, then HTML file is included as
After a long research I found that ehcache does not support caching of files which are outside the WAR. So I cached the content of the HTML file instead of the file itself. If someone has a better solution, please suggest.