SSH 问题 提交按钮后能form能正常填装数据 但就是不能实例化action

SSH框架做的 form能正常工作 应该说明我的web和struts-confing的配置 页面没什么问题
action代码[code="java"]
public class RegeditAction extends Action {
private UserService service;
private boolean check = true;

public void setService(UserService service) {
    this.service = service;
}

public UserService getService() {
    return this.service;
}

@Override
public ActionForward execute(ActionMapping mapping, ActionForm form, ServletRequest request, ServletResponse response)
        throws Exception {
    System.out.println("action xxx");
    RegeditForm reForm = (RegeditForm) form;
    UserInfor user = new UserInfor();
    String name = reForm.getUserName();
    UserInfor checkName = service.checkNewUserName(name);
    if(checkName == null){
        check = false;
    }

[/code]
strust-config:[code="java"]




[/code]
spring管理action
[code="java"]





[/code]
急啊 两三天了 揪心啊

0
扫码支付0.1元 ×