View Javadoc

1   package com.neidetcher.petunia.webui;
2   
3   import com.opensymphony.xwork2.ActionSupport;
4   
5   public class MainAction extends ActionSupport
6   {
7   
8      private String message;
9   
10     public String getMessage()
11     {
12        return message;
13     }
14  
15     @Override
16     public String execute()
17     {
18        message = "hello world";
19        return SUCCESS;
20  
21     }
22  
23  }