WebSphere Portal, Express Beta Version 6.1
Operating systems: i5/OS, Linux,Windows


 

JSP elements

You use a JSP element to store a path to a JSP. When rendered within a presentation template or element design, a request to a JSP is generated and processed.

 

Creating a JSP element

To create a JSP element, you can either add a JSP element to an authoring template, site, site area or content item, or create a JSP component.

 

Notes:

Note: Storing JSP pages

The JSP page must be stored within the was_profile_root/installedApps/node-name/wcm.ear/ilwwcm.war directory of your 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 Management 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 portal_server_root/installedApps/WCM_Local_ng_Portlet-name.ear/name.war

Note: Syndication

Syndication will not move the JSP page referred to in a JSP element. Only the item containing the JSP element is moved. You will need to store the JSP page in the same folders of both the subscribing and syndicating servers.

Note: Pre-rendering JSP elements

You cannot pre-render JSP elements.

Note: Internal references

The JSP referenced within a JSP component must not include a reference, directly or indirectly, to the same JSP component. This includes references within Web content tags or the API. If it does, a loop is created and errors will occur.

Parent topic: Referencing external content Parent topic: Working with elements Related tasks
Creating components Adding elements to an item
Library | Support | Terms of use |