javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE
应该是你的resouce文件有问题吧?

解决方案 »

  1.   

    我印象中STRUTS-CONFIG。XML中的元素是有顺序的,你把 <message-resources parameter="entity.ApplicationResources"/>放在 </action-mappings>后面再试一下吧
      

  2.   

    还有,大哥,根元素<struts-config>封口应该在最后吧,你是不是封口有点早了
      

  3.   

    <form-beans>
        <form-bean name="userInfoForm" type="entity.UserInfoForm" (这里好像还要增加一个字段)/>
    </form-beans>
      

  4.   

    <?xml version = '1.0' encoding = 'Big5'?>
    <!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>
      <message-resources parameter="entity.ApplicationResources"/><form-beans>
        <form-bean name="userInfoForm" type="entity.UserInfoForm"/>
    </form-beans><action-mappings>
        <action input="/logon.jsp" name="userInfoForm" path="/logonAction" scope="session" 
    type="action.LogonAction" validate="false">
          <forward name="success" path="/main.jsp" />      
        </action>
      </action-mappings>
    </struts-config>--------将这句话移到这个位置
      

  5.   

    Cannot find message resources under key org.apache.struts.action.MESSAGE