Class ELInterpreterFactory
java.lang.Object
org.apache.jasper.compiler.ELInterpreterFactory
Provides
ELInterpreter instances for JSP compilation. The search order is as follows:
- ELInterpreter instance or implementation class name provided as a ServletContext attribute
- Implementation class named in a ServletContext initialisation parameter
- Default implementation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDefault implementation ofELInterpreterthat delegates toJspUtil.interpreterCall(boolean, String, Class, String). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the EL interpreter class used as a ServletContext attribute and init parameter key. -
Method Summary
Modifier and TypeMethodDescriptionstatic ELInterpretergetELInterpreter(ServletContext context) Obtain the correct EL Interpreter for the given web application.
-
Field Details
-
EL_INTERPRETER_CLASS_NAME
The name of the EL interpreter class used as a ServletContext attribute and init parameter key.
-
-
Method Details
-
getELInterpreter
Obtain the correct EL Interpreter for the given web application.- Parameters:
context- The Servlet context- Returns:
- the EL interpreter
- Throws:
Exception- If an error occurs creating the interpreter
-