The entry point Professional
The best thing to start with when developing a new Web application is to design the start-up HTML page that serves as the entry point into your package DLL. Remember, the PRG code will be linked to a DLL that is loaded dynamically by the WAA server. There is no Main procedure in your PRG code and nothing will be executed automatically when the package DLL is loaded, except for the _Register() function which tells the WAA server the form-functions available in the DLL (refer to the discussion in the chapter My first Web applicationfor details).
The start-up HTML page must be located in the document root directory of the HTTP server. This is required because the page is accessed by a Web browser via an URL address. The HTTP server returns the start-up page which must contain at least the following five lines of HTML code to enable the Web browser to call functions inside a package DLL:
If the form contains one or more html input tags of the type file and the file contents shall be uploaded to the server then it is also required to specify the form encoding as "multipart/form-data". If this is omitted then only the name of the file is transferred to the WAA server.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.