Patent ID: 7987454
Filing Date: 2011-07-26
Classification: G06F

Abstract:
1. A method for emulating the processing of server pages, comprising: reading a server page, including identifying any calls to a library of custom tags; emulating any calls to custom tags identified in said server page, wherein said server page is generated and processed dynamically at runtime; discovering and parsing a tag language definition (TLD) file for this server context; parsing said server page to create a tree of nodes for each element of said tree; creating and initializing a page context object; sequentially processing said tree to identify each said node as one of template text, custom tag start, custom tag end, and expression language (EL) expression; responsive to this node being template text, writing said text directly to final markup; responsive to this node being a custom tag start, processing a custom tag start method including: responsive to this node being a tag end, processing a custom tag end method including: responsive to this node being an EL expression, evaluating said EL expression and writing result to said final markup.