问题描述
import java.util.Date;import org.springframework.web.struts.ActionSupport;import com.jvortex.j2eeblog.manager.ManagerManager;import com.jvortex.j2eeblog.model.Manager;public class ManagerAction extends ActionSupport {private ManagerManager managerManager;private int id;private String name;private String password;private Integer num;private Date regTime;……//此处省去GET SET方法public String checkLogin()throws Exception{Manager manager=managerManager.checkLogin(this.name, this.password);if(manager!=null){return SUCCESS;}else{return INPUT;}}} 问题补充:lao1984wang 写道
解决方案
应该要implements Action接口
解决方案二:
哥! 能否多贴点出来?
时间: 2025-01-26 14:42:43