<%-- This JSP file is the main script of the Enformia EIP engine. Every invocation of a page in Enformia goes through this script, which basically acts as a dispatcher. First, this script checks whether an Action was sent from the previous page. If it was, the Action-Infolet (DoAction.jsp if not otherwise stated) is executed, which is responsible for performing the action and redirecting the browser to a display page. Next, if no action request was passed in the url, a script that's responsible for the page rendering (typically a pagelet) is invoked. Finally, some clean up procedures are executed to close open connections, files, etc. --%> <%@ include file="/bin/include.jsp"%> <% /** Handle multipart forms **/ ENRequestManager.handleMultipartRequest(pageContext); /** Handle an action if exists **/ if (!ENRequestManager.executeAction(pageContext)) return; /** Handle the request parameters **/ ENRequestManager.handleRequest(pageContext); /** Generate the page **/ ENRequestManager.execute(pageContext); /** Clean up opened handles and allocations from the context **/ ENRequestManager.cleanUp(pageContext); %>