After a JSP file has been created, you need to make it available to users in your Vibe site.
On the Vibe server, locate the JSP file that you want to make available to users.
Place the JSP file in the /WEB-INF/jsp/custom_jsps directory.
Users need to reference this file by name in order to use it, so make sure that the name of the file is intuitive and easy to remember.
HINT:You might want to create separate folders for each custom JSP file inside the custom_jsps directory. This can make managing your custom JSP files more simple. However, users who leverage these sample JSP files from the Vibe site will need to enter the relative path to the file. For example: new_folder/custom_jsp_landing_page_entry.jsp.
Stop and Restart the Vibe server.
or
If you are running Vibe in a non-production environment, you can configure Vibe to automatically update a all JSP changes that you make on the Vibe server, without stopping and restarting the Vibe server. For more information, see Dynamically Updating JSP Files by Running Vibe in Development Mode.
WARNING:Running Vibe in development mode is not supported in production environments, significantly decreases Vibe performance, and is offered only as a convenience for developers.
If you are testing JSP files on a non-production system and you want all JSP changes that you make on the Vibe server to be automatically available on the Vibe server without stopping and restarting the Vibe server, you can run Vibe in development mode.
To run Vibe in development mode:
Open the web.xml file in a text editor.
The web.xml file is located in the following directory:
Platform |
Default Location |
---|---|
Linux: |
/opt/novell/teaming/apache-tomcat/conf |
Windows: |
c:\Program Files\Novell\Teaming\apache-tomcat\conf |
Search for the development parameter, then change the value of this parameter from false to true.
Save and close the web.xml file.