Pre-syndrome of JSP

xiaoxiao2021-03-05  24

About JSP pre-compilation requires the following settings when using JSP pre-compiled feature in WebLogic: 1, add the following configuration in WebLogic.xml, Precompile True 2, using ANT to pre-compile the JSP for web applications, the following is an example of a complete build.xml, in this case, use Ant WLJSPC, < Property name = "WebLogic_UID" value = "WebLogic" /> <

INCLUDE NAME = "** / *. zip" /> < DELETE>

"$ {classs.dir}" include = "ApplicationResources_zh.properties" /> -> <

ANTCALL TARGET = "Rename_WebApp" /> 3, you cannot set the option -upload to be valid when using Ant Deploy deployment, so here is an annotation process, otherwise The JSP file after deployment will still be compiled during the first visit.

转载请注明原文地址:https://www.9cbs.com/read-33064.html

New Post(0)