对了,这段代码我是按照精通struts(戎伟,张双)书上敲进去的, 

解决方案 »

  1.   

    Application.properties看看有没有问题  
    还有就是看看struts的版本
      

  2.   

    Cannot find message resources under key org.apache.struts.action.MESSAGE 你看下你的Application.properties中有没有:org.apache.struts.action.MESSAGE和它所对应的值,
    如果没有就加上去:org.apache.struts.action.MESSAGE=xxxxxxx
      

  3.   

    我的3000分凭空没了? 郁闷中!!!一天十分可是要我300天才可以赚来的3000分啊啊!! 
    什么玩意儿! 我对CSDN的影象可是一直很好的!!太让人伤心了啊!!
      

  4.   

    Cannot find message resources under key org.apache.struts.action.MESSAGE 
    找 application.properties 里面,是不是你 转换 ascii时,少黏贴了字符了吧?
      

  5.   

    打开properties文件看下,或贴出来。
      

  6.   

     properties文件:如下  #\u62a5\u9519\u4fe1\u606f
       error.eventcodeRequest=<tr><td><strong>\u653b\u51fb\u4ee3\u53f7\u662f\u5fc5  \u987b\u7684</strong></td></tr>
       error.sqlAddError=<tr><td><strong>\u6dfb\u52a0\u5931\u8d25</strong></td></tr>
       error.sqlDelError=<tr><td><strong>\u5220\u9664\u5931\u8d25</strong></td></tr>
       
       #\u663e\u793a\u4fe1\u606f
       message.attacksolutionDB=\u653b\u51fb\u7c7b\u89e3\u51b3\u65b9\u6848DB\u63d2\u5165
       message.attackcode=\u653b\u51fb\u4ee3\u53f7
       message.attackdesc=\u653b\u51fb\u542b\u4e49
       message.attacksolution=\u653b\u51fb\u89e3\u51b3\u624b\u6bb5
       message.search=\u67e5\u627e
       message.add=\u6dfb\u52a0
       message.delete=\u5220\u9664
       message.attacksolution=\u653b\u51fb\u7c7b\u89e3\u51b3\u65b9\u6848DB\u63d2\u5165
       
      

  7.   

    发表于:2008-08-28 23:27:434楼 得分:0 
    Cannot find message resources under key org.apache.struts.action.MESSAGE 你看下你的Application.properties中有没有:org.apache.struts.action.MESSAGE和它所对应的值, 
    如果没有就加上去:org.apache.struts.action.MESSAGE=xxxxxxx 
    哥哥没有看懂呀
      

  8.   

    俺也想不通,可能是你的 struts-config.xml对资源文件的配置有问题导致500错误,你在仔细的看看
    struts-config.xml配对了没。
      

  9.   

    就是在资源文件中把org.apache.struts.action.MESSAGE的键值对加上啊
      

  10.   

    问题解决了,我把struts-config.xml。里有个头文件换了