Create a file called listing3_1.cfm
with the following contents (most CFML pages end with the extension .cfm.
. This tells Railo Server that this file should be parsed):
<html> <head><title>Example 1</title></head> <body> <cfset hello = "Hello World"> <cfoutput>#hello#</cfoutput> </body> </html>
You can now save this file to <railo install directory>/webroot/listing3_1.cfm
, and then we can view the results by going to http://localhost:8888/listing3_1.cfm
(you should be using the Railo Express edition you installed in Chapter 2, Installing Railo Server for all these examples). You will see the output "Hello World" displayed in your browser.