 |
3.1 Web Application
Basics |
143 |
| |
3.1.1
Output |
144 |
| |
3.1.2
Input |
144 |
| |
3.2
Available APIs |
145 |
| |
3.2.1
Write Standard Output (QtmhWrStout) |
146 |
| |
3.2.2
Get Environment Variable (QtmhGetEnv) |
146 |
| |
3.2.3
Read Standard Input (QtmhRdStin) |
148 |
| |
3.2.4
Convert to DB (QtmhCvtDB) |
149 |
| |
3.2.5
Put Environment Variable (QtmhPutEnv) |
151 |
| |
3.2.6
CGI Parse (QzhbCGIParse) |
151 |
| |
3.3
The Next Step |
154 |
| |
3.4
CGI Programming APIs Lab 1 – Creating Dynamic Content |
155 |
| |
3.4.1
Program 1 – Hello World |
155 |
| |
3.4.2
Program 2 – A Simple Table |
155 |
| |
3.4.3
Answers for Lab 1 |
157 |
| |
3.5
CGI Programming APIs Lab 2 – Reading Form Data |
165 |
| |
3.5.1
Program 1 – The GET Method |
165 |
| |
3.5.2
Program 2 – The POST Method |
165 |
| |
3.5.3
Program 3 – Converting Input Data |
166 |
| |
3.5.4
Program 4 – The QzhbCGIParse API |
166 |
| |
3.5.5
Program 5 – The QzhbCGIParse API and Multiple Selections |
167 |
| |
3.5.6
Program 6 – The QzhbCGIParse API and the POST method |
167 |
| |
3.5.7
Answers for Lab 2 |
168 |
| |
3.6
CGI Programming APIs Lab 3 – Using ILE with the HTTP
APIs |
189 |
| |
3.6.1
Part 1 – The F.RPGWSA Service Program |
189 |
| |
3.6.2
Part 2 – Update your prior applications |
189 |
| |
3.6.3
Part 3 – Update the rest of your applications |
189 |
| |
3.6.4
Answers for Lab 3 |
191 |