public String execute()

in form-processing/src/main/java/org/apache/struts/helloworld/action/HelloWorldAction.java [52:64]


    public String execute() throws Exception {
        messageStore = new MessageStore() ;

        //Action included a query string parameter of userName
        //or a form field with name of userName
        if (userName != null) {
            messageStore.setMessage( messageStore.getMessage() + " " + userName);
        }

        helloCount++;

        return SUCCESS;
    }