Reusing HTML and Form Filling with RPG CGI
September 1, 2004 Shannon O'Donnell
The code for this article is available for download.
In “Step by Step: RPG IV and Interactive Web Pages” I demonstrated how easy it is to use your RPG skills to push content out to a Web browser. The Web pages displayed in the article were built from within the RPG IV code. This article explains how you can reuse HTML documents in an RPG CGI program. You will also learn how to pre-load HTML form fields from RPG before displaying the document in the browser.
For an RPG CGI program to be truly useful, you really have to