Class StringInterpreterFactory
java.lang.Object
org.apache.jasper.compiler.StringInterpreterFactory
Provides
StringInterpreter
instances for JSP compilation.
The search order is as follows:
- StringInterpreter instance or implementation class name provided as a ServletContext attribute
- Implementation class named in a ServletContext initialisation parameter
- Default implementation
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringInterpreter
getStringInterpreter
(ServletContext context) Obtain the correct String Interpreter for the given web application.
-
Field Details
-
STRING_INTERPRETER_CLASS_NAME
-
-
Method Details
-
getStringInterpreter
Obtain the correct String Interpreter for the given web application.- Parameters:
context
- The Servlet context- Returns:
- the String interpreter
- Throws:
Exception
- If an error occurs creating the interpreter
-