One of 4D's greatest strengths is its enormous flexibility. There is almost always more than one way to do something. If all you wanted to do was send a simple HTML page containing "Hello, World!" back to a web browser, it could easily be done by doing just that: creating a simple HTML page. Open your favorite text editor (Notepad.exe on Windows or SimpleText on Macintsoh will work well). Type the following into the text editor:
<html>
<head>
<title>4th Dimension Web Application</title>
<body>
Hello, World!
</body>
</html>

Before you save the file, you should first create a folder in your HelloWorld structure folder called "WebFolder." It is named "WebFolder" because that is the name that 4D looks for by default - you can change it in Database Properties (by setting a different html root), but to keep it simple, just use "WebFolder" as the name of your folder.

At this point, your HelloWorld folder should look like the picture above. It is very important that the "hello.html" file be inside the WebFolder, and that the WebFolder be inside the HelloWorld folder.
Go back to 4D's Design Environment, again bring up the Explorer, and modify the On Web Connection method. Delete everything that is currently there, and replace it with the following text:
SEND HTML FILE("hello.html")

Your On Web Connection method should look like the one above. The SEND HTML FILE command will cause 4D to send the file with the specified name to the web browser. The file and path must always be relative to the HTML Root folder as specified in Database Properties.

Return to your web browser, and again re-load the web page. Once again, you should see "Hello, World!" in the web browser.