日期:2014-05-18  浏览次数:20692 次

Cannot find ActionMappings or ActionFormBeans collection问题
快疯了,怎么老是出这个问题啊?
高手指点一下吧
下面是代码和错误提示
<?xml   version= "1.0 "   encoding= "ISO-8859-1 "   ?>

<!DOCTYPE   struts-config   PUBLIC
        "-//Apache   Software   Foundation//DTD   Struts   Configuration   1.1//EN "
        "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd ">

<struts-config>

        <form-beans>
                <form-bean   name= "userForm "   type= "user.UserForm "/>
                <form-property       name= "userid "       type= "java.lang.String "       />
                <form-property       name= "pwd "       type= "java.lang.String "       />
        </form-beans>

        <action-mappings>

                <action   path= "/LogonAction "
                                type= "user.LogonAction "
                                name= "userForm "
                                scope= "request "
                                validate= "true "
                                input= "../logon.jsp ">

                        <forward   name= "success "   path= "../index.jsp "/>
                        <forward   name= "fail "   path= "../logon.jsp "/>

                </action>
       
        </action-mappings>

        <message-resources   parameter= "user.MessageResources "/>

</struts-config>

web.xml

<?xml   version= "1.0 "   ?>
<!DOCTYPE   web-app   PUBLIC   "-//Sun   Microsystems,   Inc.//DTD   Web   Application   2.3//EN "   "http://java.sun.com/dtd/web-app_2_3.dtd ">

<!--   Copyright   (c)   2002   by   ObjectLearn.   All   Rights   Reserved.   -->
<web-app>

<!--   Remove   the   comments   below   to   define   a   servlet.                     -->
<!--   +++++++++++++++++++++++++++++++++++++++++++++