2.3. Say Hi! (Simple Template)
Okay, now for the obligatory Hello World example. It is really easy, so it won't take more than 30 seconds.
Go to the hello directory within your application path, and to the templates directory within the hello directory, and find the welcome.kid file. Open it up in a text editor (or whatever programming editor you use).
Replace everything inside the <body></body> tags with <h1>Hello World</h1>.
Your welcome.kid file should now look like this:
And when you browse back to http://localhost:8080, you should now see this:
Figure 2.2. Hello from the template
That's it for our basic Hello World program, but let's add a bit of dynamic content to make this more like a real web application.