现在维护别人的一个项目
一个form是这样的<form name="ResetPasswordForm" method="post" action="PersonChangeService" id="ResetPasswordForm">
我配置文件中找不到struts-config.xml找不到对应的action。
在web。xml中配置是这样的
<init-param>
            <param-name>config</param-name>
            <param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>还有其他地方可以出现码??谢谢

解决方案 »

  1.   

    看看struts-config.xml中 是否引用了其他的xml文件 include
      

  2.   

    sturts-config 就global-forward, action-mapping controller  message-resources
      

  3.   

    找不到struts-config.xml,路径/WEB-INF/struts-config.xml正确吗
    找不到对应的action,struts-config.xml中配置对应action了吗,action配置正确了吗
      

  4.   

    搜索一下项目全部的xml,看看隐藏在哪里
      

  5.   

    偶木有见过<form>标签加action的<form name="ResetPasswordForm" method="post" action="PersonChangeService" id="ResetPasswordForm">
      

  6.   

    哦。错了不好意思,我还以为是struts-config.xml的
      

  7.   

    action="PersonChangeService"的话,应该加个.do后缀把。。action="PersonChangeService.do"