1
我有一個web和web-fragment項目。在側面的web-fragment項目中,我使用jsf。我想,以防止JSF渲染通過設置這個值在網絡fragment.xml之com.sun.faces.config.WebConfiguration無法在web片段中加載<context-param>值
<context-param>
<param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>
的評論,但調試運行,當我看到WebConfiguration只能看到所有<context-param>
S IN端的web.xml
我想知道有沒有什麼辦法讓這個類加載<context-param>
s在web-fragment.xml中
非常感謝你提前!
當前我使用的是Geronimo 3.0.1版。 將應用程序部署到tomcat服務器時,它工作正常。 Tomcat從web.xml和web-fragment.xml收集所有的上下文參數 –