Enabling Servlet Caching

By default the servlet caching is not enabled, so if you want to cache the output of servlet or JSP you will have to do two things, first enable Dynamic Caching on the server

Then enable the servlet caching by going to WAS Admin Console, selecting the server of your choice and then Clicking on Web Container Settings -> Web Container to get the Wb Container settings page like this



Check "Enable Servlet Caching" checkbox and save your changes and restart the server

No comments:

Post a Comment