Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2004 Jeff Linwood, Dave Minter
About this chapter
Cite this chapter
Linwood, J., Minter, D. (2004). Using Servlets and JavaServer Pages with Portlets. In: Building Portals with the Java Portlet API. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0754-2_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0754-2_5
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-284-7
Online ISBN: 978-1-4302-0754-2
eBook Packages: Springer Book Archive