Using Servlets and JavaServer Pages with Portlets

  • Jeff Linwood
  • Dave Minter


The portlet application can use servlets and JavaServer Pages (JSP) in addition to portlets. These Java 2 Enterprise Edition (J2EE) resources can be created especially for the portlet application, or they can be part of a port of an existing J2EE application. Existing servlets and JSP will probably need to be edited to conform to the portlet markup rules for a content fragment. In this chapter, we discuss using servlets and JSP with a portlet. Most portlets will use JSP or another page display technology such as Apache Velocity to render content. Rendering content directly from a portlet is just as awkward as displaying HTML output from a servlet.


Query String Window State Action Request Edit Mode Request Parameter 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Jeff Linwood, Dave Minter 2004

Authors and Affiliations

  • Jeff Linwood
    • 1
  • Dave Minter
    • 2
  1. 1.AustinUSA
  2. 2.LondonEngland

Personalised recommendations