org.apache.struts2
Class JSPLoader

java.lang.Object
  extended by 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)


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