2009-07-21 71 views
1

在Websphere(6.1)中預編譯JSP文件的最佳方式是什麼?Websphere 6.1 - 預編譯jsp文件

我已經查看了與JSP預編譯有關的其他問題,但是由於每個AppServer都有特定的設置,我想特別知道Websphere的解決方案。

我發現在網上一些參考編輯文件IBM的web-ext.xmi文件:

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的有關部署和不使用批處理編譯器。

謝謝。

回答