Pre compilation of JSP's in weblogic

Discussions

Web tier: servlets, JSP, Web frameworks: Pre compilation of JSP's in weblogic

  1. Pre compilation of JSP's in weblogic (2 messages)

    Is there any way to pre-compile JSP's before deploying them in weblogic, like I do an ejbc on EJB's? I want to avoid the long time it takes to compile the JSP when it is first accessed.
  2. In 6.1, you can add the following to the web.xml file:

    <context-param>
      <param-name>weblogic.jsp.precompile</param-name>
      <param-value>true</param-value>
    </context-param>

    Not sure about 7.X, but it's probably the same.

    Chuck Cavaness
  3. Hi

    In WebLogic 7.X, you can do it in the weblogic.xml file:

    <jsp-descriptor>
    <jsp-param>
    <param-name>precompile
    <param-value>true



    Seb