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

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static ServletCache` | `servletCache`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JSPRuntime()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

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