Class StringInterpreterFactory

  • public class StringInterpreterFactory
    extends Object
    Provides StringInterpreter instances for JSP compilation. The search order is as follows:
    1. StringInterpreter instance or implementation class name provided as a ServletContext attribute
    2. Implementation class named in a ServletContext initialisation parameter
    3. Default implementation
    • Field Detail


        public static final String STRING_INTERPRETER_CLASS_NAME
    • Method Detail

      • getStringInterpreter

        public static StringInterpreter getStringInterpreter​(ServletContext context)
                                                      throws Exception
        Obtain the correct String Interpreter for the given web application.
        context - The Servlet context
        the String interpreter
        Exception - If an error occurs creating the interpreter