cjjspc (pre-compile JSP)
Format
cjjspc [-jspworkdir jsp-work-directory-name]
[-classpath class-path-1[;class-path-2...]]
[-excludefile jsp-file-path-1[;jsp-file-path-2...]|
-excludelist compilation-target-exclusion-list-file-path]
[-keepgenerated]
[-source {1.3|1.4|1.5|5}]
[-pageencoding character-encoding]
[-resultlist execution-results-listings-file-path]
[-customactiondeclarevariable]
[-customactionignorecaseattributename]
[-usebeannocheckclass]
[-usebeannocheckduplicateid]
[-tagnocheckrtexprvalue]
[-tagrtexprvalueterminate]
[-taglibnocheckprefix]
[-debugging]
[-jsppagedisablebom]
[-nojavaeetaglib]
[-lowerversion {2.4|2.5}]
[-addimport <class-name-1>[,<class-name-2>...]]
-root web-application-root-directory
[jsp-file-path...]
cjjspc [-jspworkdir jsp-work-directory-name]
[-classpath class-path-1[:class-path-2...]]
[-excludefile jsp-file-path-1[:jsp-file-path-2...]|
-excludelist compilation-target-exclusion-list-file-path]
[-keepgenerated]
[-source {1.3|1.4|1.5|5}]
[-pageencoding character-encoding]
[-resultlist execution-results-listings-file-path]
[-customactiondeclarevariable]
[-customactionignorecaseattributename]
[-usebeannocheckclass]
[-usebeannocheckduplicateid]
[-tagnocheckrtexprvalue]
[-tagrtexprvalueterminate]
[-taglibnocheckprefix]
[-debugging]
[-jsppagedisablebom]
[-nojavaeetaglib]
[-lowerversion {2.4|2.5}]
[-addimport <class-name-1>[,<class-name-2>...]]
-root web-application-root-directory
[jsp-file-path...]
Function
This command generates class files by generating and compiling Java source files from JSP files. The log from execution of this command is output to the standard output or to the standard error output. You can compile all the JSP files included in the Web application.
By specifying the -excludelist or -excludefile option, you can specify JSP files that are to be excluded from compilation. You specify for compilation exclusion files that satisfy any of the conditions listed below (i.e., files that do not require compilation or files that need not be re-compiled):
You cannot specify -excludelist and -excludefile at the same time. If they are both specified, an error message is displayed and processing terminates.
You can also specify the same file in the -resultlist option and the -excludelist option to set the successfully compiled JSP file as the file that is not to be compiled. Also, if an attempt to compile a JSP file has failed and that JSP file is not required to be compiled, you can delete hash mark (#) at the beginning of the path of the JSP file for which an attempt to compile has failed and which is also output to the execution result list file. As a result, the JSP file will not be compiled.
Arguments
cjjspc -excludefile jsp-file-path-1;jsp-file-path-2;... -root web-application-root-directory
cjjspc -excludefile jsp-file-path-1:jsp-file-path-2:... -root web-application-root-directory
cjjspc -excludelist compilation-target-exclusion-list-file-path -root web-application-root-directory
# comment
jsp-file-path-1-to-be-excluded-from-compilation
jsp-file-path-2-to-be-excluded-from-compilation
...
cjjspc -keepgenerated -root web-application-root-directory
cjjspc -source version -root web-application-root-directory
cjjspc -resultlist execution-results-listings-file-path -root web-application-root-directory
# Excluded JSP files.
compilation-target-exclusion-jsp-file-list
# Compiled JSP files.
jsp-files-that-were-successfully-compiled
# jsp-files-that-could-not-be-compiled
...
cjjspc -lowerversion version -root Web-application-root-directory
Return values
Notes