org.apache.struts2
Class JSPRuntime

java.lang.Object
  extended by org.apache.struts2.JSPRuntime

public abstract class JSPRuntime
extends java.lang.Object

Maintains a cache of jsp locations -> servlet instances for those jsps. When a jsp is requested from the cache, the cache will block if the jsp was not compiled already, and wait for the compilation


Field Summary
protected static ServletCache servletCache
           
 
Constructor Summary
JSPRuntime()
           
 
Method Summary
static void clearCache()
           
static void handle(java.lang.String location)
           
static void handle(java.lang.String location, boolean flush)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servletCache

protected static final ServletCache servletCache
Constructor Detail

JSPRuntime

public JSPRuntime()
Method Detail

clearCache

public static void clearCache()

handle

public static void handle(java.lang.String location)
                   throws java.lang.Exception
Throws:
java.lang.Exception

handle

public static void handle(java.lang.String location,
                          boolean flush)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.