Select a JSP file
You use the JSP element to select a JSP file to store in the component.
- Enter the path to the JSP file. The path must begin with a forward slash.
For example:
/path/jspfilename.jspStoring JSP Files:
JSP files can be located:
- within the WP_PROFILE/installedApps/node-name/wcm.ear/ilwwcm.war directory of server.
The JSP page is also stored in the client war directory of the local rendering portlet or of the servlet or portlet that calls the JSP, if using the Web Content Manager API. For example, to render a JSP page on a local rendering portlet, you would also need to store a copy of the JSP file under WP_PROFILE/installedApps/node-name/PA_WCMLocalRendering.ear/ilwwcm-localrende.war
- within any other web application running on portal. When referencing JSP files in another web application, use the following path: contextPath;jspPath
For example: /wps/customapplication;/jsp/editor.jsp
- Enter an error message to display when an incorrect JSP path is entered. A Java exception stack trace is displayed if there is a syntax error.
Create a JSP component
Previous
Specify a location for the JSP component
Previous
JSP component properties
December 14, 2011
Apr 1, 2011 1:26:17 PM
});