PLT.3.1 association from portlets to servlets / jsps
Portlets can call servlets, JSPs, and JSPS tag libraries to generate content.
A portlet can use the request sender to call servlets and JSPs, just like the servlet uses calls other Servlets and JSPs. In order to integrate portlets and servlets, the portlet specification allows you to call more Servlet objects.
When the servlet or JSP is called in the portlet, the request to servlet or JSP is based on Portlet Request. Similarly, Response transmitted to servlet or JSP is based on Portlet Response.
The Servlet Request included can use the Attributes settings of Portlet Request.
Portlets and included Servle or JSP share the same output stream.
Attributes settings in the portlet session can come from the servlet session, and vice versa.
PLT.3.2 Servlet container and portlet container relationship
The portlet container is an extension of the servlet container, so a portlet container can be built on an existing servlet container or all of the functionality of the servlet container. Regardless of how the portlet container is implemented, its operating environment is always assumed to support the Servlet 2.3 specification.