As far as I know weblogic has the option to compile the jsp files.
Below is a snap from weblogic site.
The WebLogic JSP compiler parses your JSP file into a .java file, then
compiles the generated .java file into a Java class using a regular Java
compiler.
Syntax
The JSP compiler works in much the same way that other WebLogic
compilers work (including the RMI and EJB compilers). The command line
follows this pattern:
$ java weblogic.jspc -options fileName
where fileName is the name of the JSP file that you want to compile. The
options may be before or after the target filename. The following
example compiles "myFile.jsp" into the destination directory (one of the
options) "weblogic/classes".
$ java weblogic.jspc -d /weblogic/classes myFile.jsp