## Uses of Class
org.apache.struts2.jasper.JasperException

- Packages that use JasperException
  Package | Description
  --- | ---
  org.apache.struts2.jasper |
  org.apache.struts2.jasper.compiler |
  org.apache.struts2.jasper.runtime |
  org.apache.struts2.jasper.servlet |
  org.apache.struts2.jasper.xmlparser |

- - ### Uses of JasperException in org.apache.struts2.jasper

    Methods in org.apache.struts2.jasper that throw JasperException
    Modifier and Type | Method and Description
    --- | ---
    `void` | JspCompilationContext.`compile()`
    `Compiler` | JspCompilationContext.`createCompiler()`
    `void` | JspC.`execute()` Executes the compilation.
    `protected void` | CustomCompiler.`generateClass(String[] smap)`
    `String[]` | JspCompilationContext.`getTldLocation(String uri)` Gets the 'location' of the TLD associated with the given taglib 'uri'.
    `Class` | JspCompilationContext.`load()`
    `void` | JspC.`scanFiles(File base)` Locate all jsp files in the webapp.
    `void` | JspC.`setArgs(String[] arg)`

  - ### Uses of JasperException in org.apache.struts2.jasper.compiler

    Methods in org.apache.struts2.jasper.compiler that throw JasperException
    Modifier and Type | Method and Description
    --- | ---
    `void` | BeanRepository.`addBean(Node.UseBean n, String s, String type, String scope)`
    `void` | TagPluginManager.`apply(Node.Nodes page, ErrorDispatcher err, org.apache.struts2.jasper.compiler.PageInfo pageInfo)`
    `static void` | JspUtil.`checkAttributes(String typeOfTag, org.apache.struts2.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(String scope, org.apache.struts2.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(String fname, Node.Nodes page, StringBuffer errMsgBuf, int lineNum)`
    `static JavacErrorDetail` | ErrorDispatcher.`createJavacError(String fname, Node.Nodes page, StringBuffer errMsgBuf, int lineNum, JspCompilationContext ctxt)`
    `JspConfig.JspProperty` | JspConfig.`findJspProperty(String uri)` Find a property that best matches the supplied resource.
    `protected abstract void` | Compiler.`generateClass(String[] smap)` Compile the servlet from .java file to .class file
    `Class` | BeanRepository.`getBeanType(String bean)`
    `static InputStream` | JspUtil.`getInputStream(String fname, JarFile jarFile, JspCompilationContext ctxt, ErrorDispatcher err)`
    `String[]` | TldLocationsCache.`getLocation(String uri)` Gets the 'location' of the TLD associated with the given taglib 'uri'.
    `static String` | JspUtil.`getTagHandlerClassName(String path, ErrorDispatcher err)` Deprecated. Use `JspUtil.getTagHandlerClassName(String, String, ErrorDispatcher)` See https://issues.apache.org/bugzilla/show_bug.cgi?id=46471
    `static String` | JspUtil.`getTagHandlerClassName(String path, String urn, ErrorDispatcher err)` Gets the fully-qualified class name of the tag handler corresponding to the given tag file path.
    `boolean` | JspConfig.`isJspPage(String uri)` To find out if an uri matches an url pattern in jsp config.
    `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(String errorReport, Exception exception)` Processes the given javac error report and exception.
    `void` | ErrorDispatcher.`javacError(String errorReport, Exception e)` Dispatches the given compilation error report and exception to the configured error handler.
    `void` | ErrorDispatcher.`jspError(Exception e)` Dispatches the given parsing exception to the configured error handler.
    `void` | ErrorDispatcher.`jspError(org.apache.struts2.jasper.compiler.Mark where, String errCode)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorDispatcher.`jspError(org.apache.struts2.jasper.compiler.Mark where, String errCode, String arg)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorDispatcher.`jspError(org.apache.struts2.jasper.compiler.Mark where, String errCode, String arg1, String arg2)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorDispatcher.`jspError(org.apache.struts2.jasper.compiler.Mark where, String errCode, String arg1, String arg2, String arg3)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorDispatcher.`jspError(org.apache.struts2.jasper.compiler.Node n, String errCode)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorDispatcher.`jspError(org.apache.struts2.jasper.compiler.Node n, String errCode, String arg)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorDispatcher.`jspError(org.apache.struts2.jasper.compiler.Node n, String errCode, String arg, Exception e)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorDispatcher.`jspError(org.apache.struts2.jasper.compiler.Node n, String errCode, String arg1, String arg2)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorDispatcher.`jspError(org.apache.struts2.jasper.compiler.Node n, String errCode, String arg1, String arg2, String arg3)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorDispatcher.`jspError(String errCode)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorHandler.`jspError(String msg, Exception exception)` Processes the given JSP parse error.
    `void` | ErrorHandler.`jspError(String fname, int line, int column, String msg, Exception exception)` Processes the given JSP parse error.
    `void` | ErrorDispatcher.`jspError(String errCode, String arg)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorDispatcher.`jspError(String errCode, String arg, Exception e)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorDispatcher.`jspError(String errCode, String arg1, String arg2)` Dispatches the given JSP parse error to the configured error handler.
    `void` | ErrorDispatcher.`jspError(String errCode, String arg1, String arg2, String arg3)` Dispatches the given JSP parse error to the configured error handler.
    `static void` | ELFunctionMapper.`map(Compiler compiler, Node.Nodes page)` Creates the functions mappers for all EL expressions in the JSP page.
    `static JavacErrorDetail[]` | ErrorDispatcher.`parseJavacErrors(String errMsg, 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).
    `static void` | JspUtil.`validateExpressions(org.apache.struts2.jasper.compiler.Mark where, String expressions, Class expectedType, javax.el.FunctionMapper functionMapper, ErrorDispatcher err)` Deprecated. now delegated to the org.apache.el Package

  - ### Uses of JasperException in org.apache.struts2.jasper.runtime

    Methods in org.apache.struts2.jasper.runtime that throw JasperException
    Modifier and Type | Method and Description
    --- | ---
    `static Object` | JspRuntimeLibrary.`convert(String propertyName, String s, Class t, Class propertyEditorClass)`
    `static void` | JspRuntimeLibrary.`createTypedArray(String propertyName, Object bean, Method method, String[] values, Class t, Class propertyEditorClass)` Create a typed array.
    `static Method` | JspRuntimeLibrary.`getReadMethod(Class beanClass, String prop)`
    `static Object` | JspRuntimeLibrary.`getValueFromBeanInfoPropertyEditor(Class attrClass, String attrName, String attrValue, Class propertyEditorClass)`
    `static Object` | JspRuntimeLibrary.`getValueFromPropertyEditorManager(Class attrClass, String attrName, String attrValue)`
    `static Method` | JspRuntimeLibrary.`getWriteMethod(Class beanClass, String prop)`
    `static Object` | JspRuntimeLibrary.`handleGetProperty(Object o, String prop)`
    `static void` | JspRuntimeLibrary.`handleSetProperty(Object bean, String prop, boolean value)`
    `static void` | JspRuntimeLibrary.`handleSetProperty(Object bean, String prop, byte value)`
    `static void` | JspRuntimeLibrary.`handleSetProperty(Object bean, String prop, char value)`
    `static void` | JspRuntimeLibrary.`handleSetProperty(Object bean, String prop, double value)`
    `static void` | JspRuntimeLibrary.`handleSetProperty(Object bean, String prop, float value)`
    `static void` | JspRuntimeLibrary.`handleSetProperty(Object bean, String prop, int value)`
    `static void` | JspRuntimeLibrary.`handleSetProperty(Object bean, String prop, long value)`
    `static void` | JspRuntimeLibrary.`handleSetProperty(Object bean, String prop, Object value)`
    `static void` | JspRuntimeLibrary.`handleSetProperty(Object bean, String prop, short value)`
    `static void` | JspRuntimeLibrary.`handleSetPropertyExpression(Object bean, String prop, String expression, javax.servlet.jsp.PageContext pageContext, ProtectedFunctionMapper functionMapper)` Use proprietaryEvaluate
    `static void` | JspRuntimeLibrary.`introspect(Object bean, javax.servlet.ServletRequest request)`
    `static void` | JspRuntimeLibrary.`introspecthelper(Object bean, String prop, String value, javax.servlet.ServletRequest request, String param, boolean ignoreMethodNF)`
    `Object` | JspRuntimeLibrary.PrivilegedIntrospectHelper.`run()`

  - ### Uses of JasperException in org.apache.struts2.jasper.servlet

    Methods in org.apache.struts2.jasper.servlet that return JasperException
    Modifier and Type | Method and Description
    --- | ---
    `protected JasperException` | JspServletWrapper.`handleJspException(Exception ex)` Attempts to construct a JasperException that contains helpful information about what went wrong.

    Methods in org.apache.struts2.jasper.servlet with parameters of type JasperException
    Modifier and Type | Method and Description
    --- | ---
    `void` | JspServletWrapper.`setCompilationException(JasperException je)` Sets the compilation exception for this JspServletWrapper.

    Methods in org.apache.struts2.jasper.servlet that throw JasperException
    Modifier and Type | Method and Description
    --- | ---
    `Class` | JspServletWrapper.`loadTagFile()` Compile (if needed) and load a tag file
    `Class` | JspServletWrapper.`loadTagFilePrototype()` Compile and load a prototype for the Tag file.

    Constructors in org.apache.struts2.jasper.servlet that throw JasperException
    Constructor and Description
    `JspServletWrapper(javax.servlet.ServletConfig config, Options options, String jspUri, boolean isErrorPage, JspRuntimeContext rctxt)`
    `JspServletWrapper(javax.servlet.ServletContext servletContext, Options options, String tagFilePath, javax.servlet.jsp.tagext.TagInfo tagInfo, JspRuntimeContext rctxt, URL tagFileJarUrl)`

  - ### Uses of JasperException in org.apache.struts2.jasper.xmlparser

    Methods in org.apache.struts2.jasper.xmlparser that throw JasperException
    Modifier and Type | Method and Description
    --- | ---
    `static Object[]` | XMLEncodingDetector.`getEncoding(String fname, JarFile jarFile, JspCompilationContext ctxt, ErrorDispatcher err)` Autodetects the encoding of the XML document supplied by the given input stream.
    `TreeNode` | ParserUtils.`parseXMLDocument(String uri, InputSource is)` Parse the specified XML document, and return a `TreeNode` that corresponds to the root node of the document tree.
    `TreeNode` | ParserUtils.`parseXMLDocument(String uri, InputStream is)` Parse the specified XML document, and return a `TreeNode` that corresponds to the root node of the document tree.
    `String` | XMLEncodingDetector.`scanPseudoAttribute(boolean scanningTextDecl, XMLString value)` Scans a pseudo attribute.

Copyright © 2000–2023 Apache Software Foundation. All rights reserved.