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 JSPLoader

    java.lang.Object
      org.apache.struts2.JSPLoader

    public class JSPLoader

extends Object

Uses jasper to extract a JSP from the classpath to a file and compile it. The classpath used for compilation is built by finding all the jar files using the current class loader (Thread), plus directories.

Constructor Summary
`JSPLoader()`

Method Summary
`protected String` | `getJarUrl(Class clazz)`
`javax.servlet.Servlet` | `load(String location)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JSPLoader

    public JSPLoader()

Method Detail

### load

    public javax.servlet.Servlet load(String location)
                               throws Exception

  Throws:
    `Exception`

### getJarUrl

    protected String getJarUrl(Class clazz)

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.