代码之家  ›  专栏  ›  技术社区  ›  lud0h

Websphere 6.1-预编译jsp文件

  •  1
  • lud0h  · 技术社区  · 17 年前

    在Websphere(6.1)中预编译JSP文件的最佳方法是什么?

    Add the following line before the line
        ...
        </webappext:WebAppExtension>:  
        <jspAttributes
        xmi:id="JSPAttribute_2" name="disableJspRuntimeCompilation" value="true"/>
    
        # Run the JSP batch compiler.
        WAS_installDir/bin/JspBatchCompiler -ear.path /mytmp/WC_jbweb1.expanded.ear -webmodule.name Stores.war -compileToWebInf true 
    

    我正在寻找一些在部署时预编译JSP而不使用批处理编译器的解决方案。

    1 回复  |  直到 17 年前
        1
  •  1
  •   Ryan Fernandes    17 年前

    http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.ibm.websphere.base.doc/info/aes/ae/trun_app_instwiz.html

    Applications > Install New Application > application_path > Show me all installation options and parameters > Next > Next > Precompile JavaServer Pages files > Next > Step: Provide options to compile JSPs.
    
    推荐文章