I have a web and web-fragment project. In side web-fragment project I use jsf. I would like to prevent jsf render the comment by set this value in web-fragment.xml
<context-param>
<param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>
But when debuging I see that WebConfiguration can only see the all <context-param>
s in side web.xml
I would like to know is there any way to make this class load <context-param>
s inside web-fragment.xml
Thank you very much in advance!
I have already checked the implementation of GERONIMO version 3.0.1. It is a bug of GERONIMO. In the MergeHelper class, it missed the initialization for ContextParamMergeHandler to merge all <context-param>
s from web-fragment to web project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.