WebSphere Application Server

This topic describes the preferences that you need to set for configuring AppScan® Source to referenceWebSphere® Application Server for JSP compilation.

To learn which versions of WebSphere Application Server are supported by AppScan Source, see System requirements and installation prerequisites.

In the WebSphere Application Server preference pages, you specify the server installation directory and you can set advanced configuration options. Specifying the installation directory allows AppScan Source to find and use the WebSphere Application Server JSP compiler.

Configure AppScan Source to reference the WebSphere Application Server installation directory. In addition, advanced configuration options allow you to set the WebSphere Application Server JSP compiler command line and class path.

Only select the Enable Advanced Configuration Options check box to customize the WebSphere Application Server JSP command line or to specify a class path other than the default WebSphere Application Server class path (alter this setting if you would like to include additional jars in the class path used by all your WebSphere Application Server applications).

The default WebSphere Application Server JSP compiler command line option is:

%CMD_EXE% %CMD_ARGS% 
'%FILE(%%JSP_COMPILER_INSTALL_DIR%/bin/JspBatchCompiler%BAT%%)%' 
-response.file 
'%TMP_FILE(%-keepgenerated=true -recurse=true -useFullPackageNames=true 
-verbose=false -createDebugClassfiles=true -jsp.file.extensions=%WEB_EXTS% 
-javaEncoding=%ENCODING% 
%JSP_OPTIONS% %QUOTE%-war.path=%WEB_CONTEXT_ROOT_PATH%%QUOTE% 
%QUOTE%-filename=%RELATIVE_FILENAME_NO_QUOTE% %QUOTE%  %)%'