|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts2.JSPLoader
public class JSPLoader
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 |
---|
public JSPLoader()
Method Detail |
---|
public javax.servlet.Servlet load(java.lang.String location) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getJarUrl(java.lang.Class clazz)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |