Running VGWebTransaction programs

To run a web transaction program, start by running EGLWebStartup.jsp on your web server.

You do not directly run either a VGWebTransaction program or a JSP file based on a VGUIRecord. Instead EGL manages the interaction between the program, the JSP, and the related bean by means of a web page, EGLWebStartup.jsp, that is generated for you automatically when you associate the project with runtime web server.

EGLWebStartup.jsp displays in a browser in your web server; if necessary EGL will start the server for you. The page presents a list of programs for the user to choose from.

By default, EGLWebStartup.jsp displays the selection list that it finds in Vagen1EntryPage.jsp (for other options, see Web transaction configuration files). Customize this list to include all web transaction programs you want to run from this project. Use the name of the VGWebTransaction source program, with no extension, as in the following example:
<FORM METHOD=POST ACTION="<%= hptGatewayURL %>">
<BR>Choose a Program to execute below:<BR>
<SELECT NAME="hptAppId" SIZE=10>
   <OPTION VALUE=CPGM01>Customer file maintenance
   <OPTION VALUE=CPGM02>Process new orders
   <OPTION VALUE=CPGM03>Print invoices
</SELECT> 

Feedback