public abstract class ServletDispatcherResultWithJspp
extends jodd.madvoc.result.ServletDispatcherResult
ServletDispatcherResult. It works
only for exploded deployed web apps; in other case
convert files manually before the deployment. Also, in production
convert all files manually or on application startup.| Modifier and Type | Field and Description |
|---|---|
protected Jspp |
jspp |
protected java.lang.String |
macrosPath |
| Constructor and Description |
|---|
ServletDispatcherResultWithJspp() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
convertToNewName(java.lang.String jspFile)
Converts jsp name to new target name.
|
protected Jspp |
createJspp(javax.servlet.ServletContext servletContext)
Creates new JSPP instance.
|
protected void |
preprocess(java.io.File jspFile,
java.io.File targetFile)
Pre-process JSP file and writes new content
to target file. |
protected java.lang.String |
processTarget(jodd.madvoc.ActionRequest actionRequest,
java.lang.String target) |
locateTarget, renderView, targetExistsrender, resolveTarget, targetNotFoundprotected java.lang.String macrosPath
protected Jspp jspp
protected java.lang.String convertToNewName(java.lang.String jspFile)
protected java.lang.String processTarget(jodd.madvoc.ActionRequest actionRequest,
java.lang.String target)
processTarget in class jodd.madvoc.result.ServletDispatcherResultprotected Jspp createJspp(javax.servlet.ServletContext servletContext)
protected void preprocess(java.io.File jspFile,
java.io.File targetFile)
throws java.io.IOException
Pre-process JSP file and writes new content
to target file.java.io.IOExceptionCopyright © 2003-2013 Jodd Team