Sorry for the misleading. I have a constructor.
The class is actually as follows: package com.gbsoft.belfin.communitypages.actions.mainpage; import java.lang.Exception; import org.apache.struts2.config.Result; import org.apache.struts2.views.tiles.TilesResult; import com.opensymphony.xwork2.ActionSupport; @Result( name="success", value="mainpage.page", type=TilesResult.class) public class MainpageAction extends ActionSupport { private String message; public MainpageAction( String message ){ this.message = message; } public String execute() throws Exception { return SUCCESS; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } } -- View this message in context: http://www.nabble.com/Initializing-Actions-from-Spring-tp16377674p16384701.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]