bundles/org.apache.jasper.glassfish/src/org/apache/jasper/JspCompilationContext.java
public void compile() throws JasperException, FileNotFoundException {
        createCompiler(false);
        if (jspCompiler.isOutDated()) {
            try {
                jspCompiler.compile(true);
                jsw.setReload(true);
                jsw.setCompilationException(null);
            } catch (JasperException ex) {
                // Cache compilation exception
                jsw.setCompilationException(ex);
                throw ex;
            } catch (Exception ex) {
                ex.printStackTrace();
                JasperException je = new JasperException(
                            Localizer.getMessage("jsp.error.unable.compile"),
                            ex);
                // Cache compilation exception
                jsw.setCompilationException(je);
                throw je;
            }
        }
    }
public void compile() throws JasperException, FileNotFoundException {
        createCompiler(false);
        if (jspCompiler.isOutDated()) {
            try {
                jspCompiler.compile(true);
                jsw.setReload(true);
                jsw.setCompilationException(null);
            } catch (JasperException ex) {
                // Cache compilation exception
                jsw.setCompilationException(ex);
                throw ex;
            } catch (Exception ex) {
                ex.printStackTrace();
                JasperException je = new JasperException(
                            Localizer.getMessage("jsp.error.unable.compile"),
                            ex);
                // Cache compilation exception
                jsw.setCompilationException(je);
                throw je;
            }
        }
    }
public void compile ( ) throws JasperException , FileNotFoundException { createCompiler ( false ) ; if ( jspCompiler . isOutDated ( ) ) { try { jspCompiler . compile ( true ) ; jsw . setReload ( true ) ; jsw . setCompilationException ( null ) ; } catch ( JasperException ex ) { // Cache compilation exception jsw . setCompilationException ( ex ) ; throw ex ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; JasperException je = new JasperException ( Localizer . getMessage ( "jsp.error.unable.compile" ) , ex ) ; // Cache compilation exception jsw . setCompilationException ( je ) ; throw je ; } } }
==================== Compile and reload ====================
==================== Compile and reload ====================