Using Servlets and JavaServer Pages with Portlets
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.
KeywordsQuery String Window State Action Request Edit Mode Request Parameter
Unable to display preview. Download preview PDF.