[size=large]ActionTest类继承自ActionSupport,在ActionTest中重写execute()方法,它的返回值是不是必须是"SUCCESS"?
看了API,ActionSupport的execute()方法:[/size]
execute
public String execute()
throws ExceptionA default implementation that does nothing an returns "success".
Subclasses should override this method to provide their business logic.
See also Action.execute().
Specified by:
execute in interface Action
Returns:
returns Action.SUCCESS
Throws:
Exception - can be thrown by subclasses.
谢谢