Patent ID: 7376660
Filing Date: 2008-05-20
Classification: G06F,Y10S

Abstract:
1. A method, in a data processing system, for processing a request directed to a Java Server Page (JSP) using a JSP engine, comprising: receiving the request for the JSP by an extensible JSP resource manager system programming interface, wherein the extensible JSP resource manager system programming interface is programmed for default behavior of the JSP engine for creating and loading JSP resources to be overridden without modifying the JSP engine, wherein the extensible JSP resource manager system programming interface includes a JSP translation context manager, a JSP input source manager, a created JSP resource manager, and a JAVA compiler manager; determining by the JSP translation context manager if an extensible translation context has been defined for the JSP to which the request is directed, wherein the extensible translation context defines one or more alternative mechanisms for generating a JSP servlet from JSP input source data than is provided by the JSP engine; generating a first JSP servlet based on the extensible translation context if an extensible translation context has been defined for the JSP, wherein generating the first JSP servlet includes: generating a second JSP servlet based on a default translation context if an extensible translation context has not been defined for the JSP; and processing the request using one of the first JSP servlet and the second JSP servlet.