There are two ways to precompile JSPs:
Configure the JSP to load at start-up, as described in “Preloading classes”. The JSPs are compiled when the server starts up. This technique requires that you have Web components defined for each JSP in your application.
Compile the JSPs using the jagtool compilejsp command. You can do this from deployment scripts or batch files, or in an Ant build file. For more information, see Chapter 6, “Using jagtool and jagant,” in the Automated Configuration Guide.