Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2
Class JSPRuntime

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

    public abstract class JSPRuntime

extends 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(String location)`
`static void` | `handle(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(String location)
                       throws Exception

  Throws:
    `Exception`

### handle

    public static void handle(String location,
                              boolean flush)
                       throws Exception

  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000–2017 Apache Software Foundation. All rights reserved.