此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主【I_am_a_java_CaiNiao】截止到2008-08-02 14:35:07的历史汇总数据(不包括此帖):
发帖的总数量:70                       发帖的总分数:785                      每贴平均分数:11                       
回帖的总数量:52                       得分贴总数量:3                        回帖的得分率:5%                       
结贴的总数量:45                       结贴的总分数:540                      
无满意结贴数:3                        无满意结贴分:45                       
未结的帖子数:25                       未结的总分数:245                      
结贴的百分比:64.29 %               结分的百分比:68.79 %                  
无满意结贴率:6.67  %               无满意结分率:8.33  %                  
楼主加油

取消马甲机器人,请点这里:http://www.java2000.net/mycsdn/robotStop.jsp?usern=I_am_a_java_CaiNiao

解决方案 »

  1.   

    包放了,如果用的是spring2.0的话,要放入spring-struts.jar包,在dist\modules目录下如果是spring2.5的话,要放入spring-webmvc-struts.jar包,在dist\modules
      

  2.   

    加载了呀,如下:public class RegisterAction extends DispatchAction { private PersonService personService;

    public void setPersonService(PersonService personService) {
    this.personService = personService;
    }

    public ActionForward execute(ActionMapping mapping,
    ActionForm form, HttpServletRequest request,
    HttpServletResponse response) {

    RegisterForm registerForm = (RegisterForm) form;
    String person_idFromForm = registerForm.getPerson_id();
    String person_passwordFromForm = registerForm.getPerson_password();
    Person person = new Person();
    person.setPerson_id(person_idFromForm);
    person.setPerson_password(person_passwordFromForm);
    personService.insertPerson(person);

    return mapping.findForward("SayWelcome");
    }
    }它给我报个其它的错误也就算了,关键是说连action都找不到,唉~~~
      

  3.   

    这个问题的原因,是struts-config.xml中的set-property property="contextConfigLocation"
    不支持多个配置文件。书上都是像楼主这么写到,可以支持多个配置文件,估计是spring的版本问题。现在的问题是,哪个版本才支持多个配置文件呢?