Portlet Factory, Version 6.1.2


 

How pre-compilation works

The tool uses a two-stage approach to generating and compiling JSPs.

Stage 1, generation

The tool examines all models and associated profile sets in a project. It then works through all possible combinations of those items to generate the JSPs associated with the model/profile set associations. The JSPs are saved to the server and a list of all JSPs generated is created.

Stage 2, compilation

The tool next walks through the list of generated JSPs and forces a compile of each JSP in the list.

Note: The server must be running in order for JSP compilation to be successful because the tool makes a HTTP request to the server requesting a specific JSP page with a pre-compile flag set for the page. Compiled JSP are stored in IBM® WebSphere Portlet Factory's .../genjsp directory.

Parent topic: Pre-compiling model JSPs


Library | Support |