Depends on what version of WebLogic you are using.
You can set it up in weblogic.xml for webLogic 6.0
<JSP-DESCRIPTOR>
<JSP-PARAM>precompile</JSP-PARAM>
<JSP-VALUE>TRUE</JSP-VALUE>
</JSP-DESCRIPTOR>
(WARNING: I got this from a Bea training class but I CANNOT find it documented on their e-docs. In fact the list of possible JSP-PARAM values does not even include the precompile option!!)
Or set up:
<context-param>
<param-name>weblogic.jsp.precompile</param-name>
<param-value>true</param-value>
</context-param>
In ur web.xml for that application.
If your project only has jsps.. u should still have those files but they might be empty.. if not.. just create them in the WEB-INF directory or ur project.
For more info look at:
http://e-docs.bea.com/wls/docs60///////jsp/reference.html#57794 -Tim
Originally posted by nico soum:
does anyone know how I can tell weblogic that I would like it to precompile my JSPs? Currently, users seem to take the hit of JSP compilation when a new version of the project is released. I am looking for a way to avoid this. I have found some material telling me to set this in web.xml but it seems that the project I am working on does not use such a file. I am new to weblogic and don't know what the options are for me.
Thanks,
Nico