FileDocCategorySizeDatePackage
HelloWorld.javaAPI DocApache Struts 2.0.9 Apps1720Mon Jul 23 13:43:00 BST 2007example

HelloWorld

public class HelloWorld extends ExampleSupport
Set welcome message.

Fields Summary
public static final String
MESSAGE
Provide default valuie for Message property.
private String
message
Field for Message property.
Constructors Summary
Methods Summary
public java.lang.Stringexecute()

        setMessage(getText(MESSAGE));
        return SUCCESS;
    
public java.lang.StringgetMessage()
Return Message property.

return
Message property


               
       
        return message;
    
public voidsetMessage(java.lang.String message)
Set Message property.

param
message Text to display on HelloWorld page.

        this.message = message;