10.1.6 web.xml

The IBM portlets required that the servlet be declared in the web.xml. We will not be extending HttpServlet for JSR 168 portlets so the servlet and the servlet-mapping elements can be removed from the web.xml. Copy the servlet class; we will use this for the portlet-class element.

<portlet-class>myportlet.MyPortletPortlet</portlet-class>

Redbooks
ibm.com/redbooks