| Package | Description |
|---|---|
| org.apache.jasper | |
| org.apache.jasper.compiler | |
| org.apache.jasper.runtime | |
| org.apache.jasper.servlet |
| Modifier and Type | Method and Description |
|---|---|
void |
JspCompilationContext.compile() |
protected void |
JspC.initServletContext(java.lang.ClassLoader classLoader) |
protected void |
JspC.initWebXml() |
java.lang.Class<?> |
JspCompilationContext.load() |
protected void |
JspC.processFile(java.lang.String file) |
void |
JspC.setArgs(java.lang.String[] arg)
Apply command-line arguments.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeanRepository.addBean(Node.UseBean n,
java.lang.String s,
java.lang.String type,
java.lang.String scope) |
void |
TagPluginManager.apply(Node.Nodes page,
ErrorDispatcher err,
org.apache.jasper.compiler.PageInfo pageInfo) |
static void |
JspUtil.checkAttributes(java.lang.String typeOfTag,
org.apache.jasper.compiler.Node n,
JspUtil.ValidAttribute[] validAttributes,
ErrorDispatcher err)
Checks if all mandatory attributes are present and if all attributes
present have valid names.
|
static void |
JspUtil.checkScope(java.lang.String scope,
org.apache.jasper.compiler.Node n,
ErrorDispatcher err)
Checks to see if the given scope is valid.
|
void |
Compiler.compile()
Compile the jsp file from the current engine context.
|
void |
Compiler.compile(boolean compileClass)
Compile the jsp file from the current engine context.
|
void |
Compiler.compile(boolean compileClass,
boolean jspcMode)
Compile the jsp file from the current engine context.
|
static void |
TextOptimizer.concatenate(Compiler compiler,
Node.Nodes page) |
static JavacErrorDetail |
ErrorDispatcher.createJavacError(java.lang.String fname,
Node.Nodes page,
java.lang.StringBuilder errMsgBuf,
int lineNum)
Create a compilation error.
|
static JavacErrorDetail |
ErrorDispatcher.createJavacError(java.lang.String fname,
Node.Nodes page,
java.lang.StringBuilder errMsgBuf,
int lineNum,
JspCompilationContext ctxt)
Create a compilation error.
|
protected void |
JDTCompiler.generateClass(java.util.Map<java.lang.String,SmapStratum> smaps)
Compile the servlet from .java file to .class file
|
protected abstract void |
Compiler.generateClass(java.util.Map<java.lang.String,SmapStratum> smaps)
Servlet compilation.
|
protected void |
AntCompiler.generateClass(java.util.Map<java.lang.String,SmapStratum> smaps)
Compile the servlet from .java file to .class file
|
java.lang.Class<?> |
BeanRepository.getBeanType(java.lang.String bean) |
static java.lang.String |
JspUtil.getTagHandlerClassName(java.lang.String path,
java.lang.String packageName,
java.lang.String urn,
ErrorDispatcher err)
Gets the fully-qualified class name of the tag handler corresponding to
the given tag file path.
|
TaglibXml |
TldCache.getTaglibXml(TldResourcePath tldResourcePath) |
void |
ErrorHandler.javacError(JavacErrorDetail[] details)
Processes the given javac compilation errors.
|
void |
ErrorDispatcher.javacError(JavacErrorDetail[] javacErrors)
Dispatches the given javac compilation errors to the configured error
handler.
|
void |
ErrorHandler.javacError(java.lang.String errorReport,
java.lang.Exception exception)
Processes the given javac error report and exception.
|
void |
ErrorDispatcher.javacError(java.lang.String errorReport,
java.lang.Exception e)
Dispatches the given compilation error report and exception to the
configured error handler.
|
void |
ErrorDispatcher.jspError(java.lang.Exception e)
Dispatches the given parsing exception to the configured error handler.
|
void |
ErrorDispatcher.jspError(java.lang.Exception e,
java.lang.String errCode,
java.lang.String... args)
Dispatches the given JSP parse error to the configured error handler.
|
void |
ErrorDispatcher.jspError(org.apache.jasper.compiler.Mark where,
java.lang.Exception e,
java.lang.String errCode,
java.lang.String... args)
Dispatches the given JSP parse error to the configured error handler.
|
void |
ErrorDispatcher.jspError(org.apache.jasper.compiler.Mark where,
java.lang.String errCode,
java.lang.String... args)
Dispatches the given JSP parse error to the configured error handler.
|
void |
ErrorDispatcher.jspError(org.apache.jasper.compiler.Node n,
java.lang.Exception e,
java.lang.String errCode,
java.lang.String... args)
Dispatches the given JSP parse error to the configured error handler.
|
void |
ErrorDispatcher.jspError(org.apache.jasper.compiler.Node n,
java.lang.String errCode,
java.lang.String... args)
Dispatches the given JSP parse error to the configured error handler.
|
void |
ErrorHandler.jspError(java.lang.String msg,
java.lang.Exception exception)
Processes the given JSP parse error.
|
void |
ErrorHandler.jspError(java.lang.String fname,
int line,
int column,
java.lang.String msg,
java.lang.Exception exception)
Processes the given JSP parse error.
|
void |
ErrorDispatcher.jspError(java.lang.String errCode,
java.lang.String... args)
Dispatches the given JSP parse error to the configured error handler.
|
static void |
ELFunctionMapper.map(Node.Nodes page)
Creates the functions mappers for all EL expressions in the JSP page.
|
static JavacErrorDetail[] |
ErrorDispatcher.parseJavacErrors(java.lang.String errMsg,
java.lang.String fname,
Node.Nodes page)
Parses the given error message into an array of javac compilation error
messages (one per javac compilation error line number).
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
JspRuntimeLibrary.convert(java.lang.String propertyName,
java.lang.String s,
java.lang.Class<?> t,
java.lang.Class<?> propertyEditorClass) |
static void |
JspRuntimeLibrary.createTypedArray(java.lang.String propertyName,
java.lang.Object bean,
java.lang.reflect.Method method,
java.lang.String[] values,
java.lang.Class<?> t,
java.lang.Class<?> propertyEditorClass)
Create a typed array.
|
static java.lang.reflect.Method |
JspRuntimeLibrary.getReadMethod(java.lang.Class<?> beanClass,
java.lang.String prop) |
static java.lang.Object |
JspRuntimeLibrary.getValueFromBeanInfoPropertyEditor(java.lang.Class<?> attrClass,
java.lang.String attrName,
java.lang.String attrValue,
java.lang.Class<?> propertyEditorClass) |
static java.lang.Object |
JspRuntimeLibrary.getValueFromPropertyEditorManager(java.lang.Class<?> attrClass,
java.lang.String attrName,
java.lang.String attrValue) |
static java.lang.reflect.Method |
JspRuntimeLibrary.getWriteMethod(java.lang.Class<?> beanClass,
java.lang.String prop) |
static java.lang.Object |
JspRuntimeLibrary.handleGetProperty(java.lang.Object o,
java.lang.String prop) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
boolean value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
byte value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
char value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
double value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
float value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
int value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
long value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
java.lang.Object value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
short value) |
static void |
JspRuntimeLibrary.handleSetPropertyExpression(java.lang.Object bean,
java.lang.String prop,
java.lang.String expression,
PageContext pageContext,
ProtectedFunctionMapper functionMapper) |
static void |
JspRuntimeLibrary.introspect(java.lang.Object bean,
ServletRequest request) |
static void |
JspRuntimeLibrary.introspecthelper(java.lang.Object bean,
java.lang.String prop,
java.lang.String value,
ServletRequest request,
java.lang.String param,
boolean ignoreMethodNF) |
| Modifier and Type | Method and Description |
|---|---|
protected JasperException |
JspServletWrapper.handleJspException(java.lang.Exception ex)
Attempts to construct a JasperException that contains helpful information
about what went wrong.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JspServletWrapper.setCompilationException(JasperException je)
Sets the compilation exception for this JspServletWrapper.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<?> |
JspServletWrapper.loadTagFile()
Compile (if needed) and load a tag file.
|
java.lang.Class<?> |
JspServletWrapper.loadTagFilePrototype()
Compile and load a prototype for the Tag file.
|
| Constructor and Description |
|---|
JspCServletContext(java.io.PrintWriter aLogWriter,
java.net.URL aResourceBaseURL,
java.lang.ClassLoader classLoader,
boolean validate,
boolean blockExternal)
Create a new instance of this ServletContext implementation.
|
Copyright © 2014–2021. All rights reserved.