My previous post explains how to precompile JSPs with the WebLogic wlappc Ant task. This is a follow-up explaining how to prevent WebLogic Server to recompile the JSPs completely.
Add the following snippet to the weblogic.xml of your WAR.
< jsp-descriptor > < page-check-seconds >-1</ page-check-seconds > < precompile >false</ precompile > </ jsp-descriptor > |
Add the following snippet to the web.xml of your WAR.
< servlet > < servlet-name >JSPClassServlet</ servlet-name > < servlet-class >weblogic.servlet.JSPClassServlet</ servlet-class > </ servlet > < servlet-mapping > < servlet-name >JSPClassServlet</ servlet-name > < url-pattern >*.jsp</ url-pattern > </ servlet-mapping > |