![]() |
There are two checkboxes here. Your decision on the first one will determine if the second one
is applicable or not. As part of the eXo portlet container requirement, the <display-name> element in web.xml
should match the context root of the portlet application. However, you no longer need
to modify this manually, it is done for you. Along with the <display-name> element,
a specific <listener> element, a <servlet> element, and a <servlet-mapping>
element will also be inserted so your portlet application can be identified by the eXo portlet
container. The first checkbox gives you the choice of enabling the detection of a possible
mismatch for any of the above elements. If you don't select this checkbox, then no attempt to
detect such a mismatch will be performed, and the second checkbox will become irrelevant.
However, if you do select the first checkbox, then you have the choice of enabling/disabling
the prompt dialog. Please be aware that if you disable the prompt dialog, then web.xml will
be modified automatically. Modifying web.xml will not preserve the existing format of the file,
however, any existing comments in the web.xml file will not be lost. The following are the exact elements that will be added if they do not exist (<display-name> element is not shown here) : <listener> <listener-class>org.exoplatform.services.portletcontainer.impl.servlet.PortletApplicationListener</listener-class> </listener> <servlet> <servlet-name>PortletWrapper</servlet-name> <servlet-class>org.exoplatform.services.portletcontainer.impl.servlet.ServletWrapper</servlet-class> </servlet> <servlet-mapping> <servlet-name>PortletWrapper</servlet-name> <url-pattern>/PortletWrapper</url-pattern> </servlet-mapping> |
© Copyright The eXo Platform SARL 2000-2004.
Last updated $Date: 2004/04/19 03:37:16 $