Ticket #1822: JspRuntimeContext.java.patch

Index: JspRuntimeContext.java
===================================================================
RCS file: /cvs/glassfish/appserv-webtier/src/java/org/apache/jasper/compiler/JspRuntimeContext.java,v
retrieving revision 1.14
diff -u -r1.14 JspRuntimeContext.java
--- JspRuntimeContext.java	5 May 2007 05:32:52 -0000	1.14
+++ JspRuntimeContext.java	22 Dec 2008 08:07:07 -0000
@@ -187,7 +187,8 @@
         String appBase = context.getRealPath("/");         
         if (!options.getDevelopment()
                 && appBase != null
-                && options.getCheckInterval() > 0) {
+                && options.getCheckInterval() > 0
+                && !options.getUsePrecompiled()) {
             if (appBase.endsWith(File.separator) ) {
                 appBase = appBase.substring(0,appBase.length()-1);
             }