O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Executing Templates

Now, let’s test the code. There are several ways to do this. The simplest is to right-click (Windows) or Control-click (Mac) on the file in the Files window and select Preview in Browser (selecting your browser off the list).

You may also execute the page directly yourself. Simply open your Web browser and go to this URL:

http://localhost:8500/ows/8/hello1.cfm

Tip

Not using the integrated Web server? See the note at the start of this chapter.

You should see a page like the one in Figure 8.1. I admit that this is somewhat anticlimactic, but wait; it’ll get better soon enough.

Figure 8.1. ColdFusion-generated output usually is viewed in any Web browser.

There’s another way to browse the code you write. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required