You can precompile JSPs associated with a WAR file just as you can other JSPs.
Precompiling allows you to improve performance by creating all the JSPs associated with a model in one operation. The process is similar to precompiling from the command line. However, there are differences related to the URL used and other parameters.
- Publish the WAR file that contains the JSPs to precompile.
- In the directory where the WAR file was published, locate the WEB-INF\\bin directory.
- Generate a list of model files for which you want JSPs precompiled.
This list serves as an argument to the precompile command and must be in the proper format.
- Enter the command to initiate compilation.
Note: For a widget, the URL used as an argument to the precompile command must include the name of the widget adapter WAR file.
Click Enter to initiate operations.
Examine the .../genjsp directory to view the generated JSPs.
Parent topic: Publishing a project: wpf7