A method, apparatus, and computer instructions for a configurable
JAVASERVER pages processing framework to process JAVASERVER pages (JSP).
A JSP document or page is translated into a document object model (DOM)
object that encapsulates elements of the JSP. The syntax of the JSP is
validated by a JSP translator with built-in classes and errors are
returned if necessary. A JSP visitor configuration file, which defines
user configured classes and sequence of execution, is used by the JSP
translator to invoke methods of user-defined classes in the order
specified by the user to process or visit elements of the DOM object.
Result of user-defined class processing may be passed from one class to
another within the set.