初次使用MyEclipse8.0出了点棘手的问题,请教各位!
帮忙看看这问题怎么解决,谢了。
这是错误提示:The type ActionSupport cannot be a superinterface of HelloWorldAction; a superinterface must be an interface以下是代码部分:
package org.nick.struts2.ch02.action;import com.opensymphony.xwork2.ActionSupport;public class HelloWorldAction implements ActionSupport {
private String message;
private String name;

public String getMessage() {
return message;
}

public String getName() {
name = "nick";
return SUCCESS;
}

public String execute() {
message = "Hello World!";
return SUCCESS;
}
}