Last Updates | Login      

You first app - Hello World

A very simple tutorial that will help you understand the framework.

Prerequisites

First of all make sure you are using java 1.5 or higher. This example will use maven 3.x and Eclipse IDE.

1) Creating the configuration class:


2) Creating the action HelloWorldAction:


3) Creating the JSP index.jsp:


Connecting all

So far we only the skeleton of our hello world. Let's start now joining each layer and provide basic functionality.

4) Configuring HelloWordAction in AppManager:


5) Adding in the action something to be shown in the JSP:


6) Changing the JSP to display the value:


See working:
Estrutura do projeto:
Download the source code:
Download