Portlet Deployment
There are two ways of deploying portlets :- using the eXo Platform eclipse plugin
- deploying the portlet manually
- Firstly, you have to set the value of the web.xml display-name tag using the portlet application name for this purpose. So, for example, if your application is in yourApp.war the display-name tag must be yourApp.
- Then you need to add some listener and servlet tags :
<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>
on 16/05/2009 at 20:35