Retrieving the rendering context within a WCM .jsp component
How do you retrieve the rendering context within a Lotus Web Content Management (WCM) .jsp component?
Sample .jsp: 1. For the preview to work, place the code in the following directory:
2. Access via a .jsp component configured with the following path: /jsp/html/render.jsp.
Note that this .jsp will not work if accessed directly using a URL in a browser such as xxxx/wps/wcm/jsp/html/render.jsp. The .jsp must be accessed via Preview or a rendering portlet.
If you are accessing the content via the Web Content Viewer local rendering portlet, you must also place the .jsp in the war/jsp/html directory for the local rendering portlet. Here is a sample location: