10.1. Modifying the deployment descriptor

There are major differences between the deployment descriptor for IBM portlets and JSR 168 portlets. As discussed in the overview, IBM portlets are servlets and require the portlet to reference the servlet entry in the web.xml. JSR 168 portlets do not need to reference the web.xml because they are not servlets. Due to the complicated nature of the portlet deployment descriptor, it is recommended that you use Rational Application Developer to modify the portlet.xml. The portlet.xml for JSR 168 portlets do require tags to be placed in a specific order.

10.1.1. doctype

The JSR 168 portlet deployment descriptor uses XML schema for validation and does not require the use of the doctype element. The following ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.