
JSP pages can be packaged as a portal component, or as a resource contained in a portal application.
Portal Component: You can define a portal component, and provide as the implementation a JSP page instead of a Java class that extends AbstractPortalComponent , as described in JSP as Portal Component .
You define the portal component in the application's deployment descriptor, and specify that the portal run the JSP page whenever the component is called.
Standalone Resource: You can call and execute a JSP page from within a portal component, as described in JSP as Standalone Resource . The output of the JSP page is included in the output for the component.