WebSpeed
Developer’s Guide


Modifying the process-web-request Procedure

The process-web-request procedure is the primary method for handling Web request input and Web page output for a Web object. For a state-aware Web object, this is the method procedure that the Agent control program calls to handle a request destined for that Web object.

The CGI Wrapper and HTML-mapping templates are commented for guidance in managing a generic Web request.

The CGI Wrapper template for this method procedure contains the required call to the outputHeader procedure and statements that output a skeleton Web page. Otherwise, the content of this procedure is entirely application-dependent.

The HTML-mapping template for this method procedure contains the required call to the outputHeader procedure and provides a complete default CGI GET and POST request framework in which to handle a Web request. This framework provides a default mechanism to move data between the mapped page and the Web object. You can (and generally must) modify both versions of process-web-request for your application. For more information, see the "Anatomy of process-web-request in HTML-mapping" section.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095