If you are using JavaServer Faces (JSF), you can add the following context parameters in the web.xml file.
The web.xml file must reside in the WEB-INF directory under the context of the hierarchy of directories that exist for a Web application. You can add the following context parameters to your web.xml file:
<context-param> <description>Causes apostrophes inside the name or value of an f:param to be escaped in h:commandLink</description> <param-name>com.ibm.ws.jsf.commandLinkEscapeApostrophe</param-name> <param-value>true</param-value> </context-param>
A duplicate client error might occur when you use the JSF implementation to dynamically add components to the tree. The error occurs because the JSF implementation generated client identifiers collide with cached client identifiers on a post back. To prevent the collision with existing client IDs, use the com.ibm.ws.jsf.storeDynamicClientIds context parameter to store the number that is used to generate new client IDs in the view between requests.
<context-param> <description>If this property is set to true, the number that is used to generate new client IDs is stored in the view so that it is saved between requests. </description> <param-name>com.ibm.ws.jsf.storeDynamicClientIds</param-name> <param-value>true</param-value> </context-param>