Sun Java System Portal Server 7.1 Developer Sample Guide

ProcedureTo Create Customized Organization JSP and Template Files

  1. Change directories to the Desktop JSP or template directory.

    For example,


    cd PortalServer-DataDir/portals/portal-ID/desktop
  2. Create a new directory for your organization’s JSPs and templates.

    For example,


    mkdir sesta
  3. Copy the JSPs and templates that you wish to modify into the new directory location, maintaining the same directory structure.

    For example, if your new Desktop type will modify PortalServer-DataDir/portals/portal-ID/desktop/default/JSPProvider/content.jsp, copy this file to PortalServer-DataDir/portals/portal-ID/desktop/sesta/JSPProvider/content.jsp, and customize the file for the new Desktop type in that location.

  4. Customize the JSPs templates in the sesta directory as required.

  5. Change the dynamic Desktop Type attribute in the Portal Server software administration console to use the newly created directory.