org.apache.struts2
Class JSPLoader

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

public class JSPLoader
extends java.lang.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  java.lang.String getJarUrl(java.lang.Class clazz)
           
 javax.servlet.Servlet load(java.lang.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(java.lang.String location)
                           throws java.lang.Exception
Throws:
java.lang.Exception

getJarUrl

protected java.lang.String getJarUrl(java.lang.Class clazz)


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