NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator's Guide

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator’s Guide—674372-005
3-11
The Installation-Specific servlet.config File
#
# This trims off the rightmost colon char.
#
set JVCP [string trimright $JVCP ":"]
#
# Set the default value of the User ClassPath blank
#
set USRCP ""
#################################################################
#
# Related to the BankDemo example application provided with NSJSP
#
# The value of SERVLET_BANK should be <catalog>.<schema>.<tablename>
# Catalog and schema should have been created. The application will create
# the given table if one is not present
set SERVLET_BANK bankcat.banksch.sraccts
#################################################################
#
# NSJSP SHARED RUNTIME LIBRARY (SRL) location
#
set NSJSP_DLL_PATH $env(NSJSP_HOME)/lib
#################################################################
# Do an existence check on the JDBC specific configuration
# file (jdbc.config). If the file exists, it will be
# included in the configuration.
if { [file exists $env(NSJSP_HOME)/conf/jdbc.config] } {
source $env(NSJSP_HOME)/conf/jdbc.config
}
if {[info exists jdbcMx_LIB_PATH]} {
if {[info exists jdbcMp_LIB_PATH]} {
set NSJSP_DLL_PATH $env(NSJSP_HOME)/lib:$jdbcMx_LIB_PATH:$jdbcMp_LIB_PATH
} else {
Example 3-3. An Installation-Specific servlet.config File