News for hackers. Stuff that matters.

isapir

As @aidos and @abraham_lincoln pointed out, an "Hello World" example is simply putting that string in a file named hello.cfm on the root of the web application and calling it with your browser, e.g. http://localhost:8080/hello.cfm

Before you can do that though, you need to install the CFML engine. I recently published a tutorial that shows how to install Lucee in Tomcat very easily:

https://www.youtube.com/watch?v=nuugoG5c-7M

http://blog.rasia.io/blog/how-to-easily-setup-lucee-in-tomca...

To make your Hello World example a bit more interesting, you can add the tag `<cfoutput>` with some dynamic content, e.g.

    <cfoutput>
        Hello World on #dateTimeFormat(now(), "mm/dd/yyyy 'at' HH:nn:ss")#
    </cfoutput>
See example at https://trycf.com/gist/226c10cbe74d4083743a617b25398224/luce...