Apple WebObjects 3.5 User Manual
Page 36

Chapter 1
Creating a Simple WebObjects Application
36
6. Click
in the Launch panel to launch your application.
The Launch Panel displays a series of messages. If all goes well, you
should see messages such as the following, which mean that your
application is running successfully.
Your web browser (such as Netscape Navigator or Internet Explorer)
should launch automatically and load the correct URL for your application.
If it doesn’t, do the next step; otherwise, proceed to step 8.
7. Launch your web browser and load a URL with the following form:
http://
web_server_host
/
cgi-bin_directory
/
adaptor
/
application_directory
Your application directory is
GuestBook
, which was created by Project Builder
under the
WebObjects
subdirectory of your server’s document root when you
first created the project. The default adaptor name is
WebObjects
(see Serving
WebObjects for more information about WebObjects adaptors). So if, for
example, your web server is named
gandhi
and its cgi-bin directory is named
cgi-bin
, you would use this URL:
http://gandhi/cgi-bin/WebObjects/GuestBook
8. Test your application by entering information and submitting the form.
If all goes well, your page should look like the one shown at the beginning
of this chapter (page 11).