So what *is* the problem? Is Spring not loading the action? Is Struts
not finding the action? Something else? The code/configuration you've
posted looks basically OK.
L.
georgievh wrote:
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;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]