Method and apparatus for processing java server pages (JSPs) which reduces
the delays resulting from a first time invocation of a JSP. One
embodiment provides a method for processing JSPs for a java virtual
machine (JVM), comprising: selecting one or more JSP files to be
processed for the JVM; translating the JSP files to java source code
files; inserting quick exit codes to java source code files; compiling
java source code files to servlet class files; and loading servlet class
files into the JVM.