struts 入门问题(我是新手) 对了,这段代码我是按照精通struts(戎伟,张双)书上敲进去的, 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Application.properties看看有没有问题 还有就是看看struts的版本 Cannot find message resources under key org.apache.struts.action.MESSAGE 你看下你的Application.properties中有没有:org.apache.struts.action.MESSAGE和它所对应的值,如果没有就加上去:org.apache.struts.action.MESSAGE=xxxxxxx 我的3000分凭空没了? 郁闷中!!!一天十分可是要我300天才可以赚来的3000分啊啊!! 什么玩意儿! 我对CSDN的影象可是一直很好的!!太让人伤心了啊!! Cannot find message resources under key org.apache.struts.action.MESSAGE 找 application.properties 里面,是不是你 转换 ascii时,少黏贴了字符了吧? 打开properties文件看下,或贴出来。 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 发表于: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 哥哥没有看懂呀 俺也想不通,可能是你的 struts-config.xml对资源文件的配置有问题导致500错误,你在仔细的看看struts-config.xml配对了没。 就是在资源文件中把org.apache.struts.action.MESSAGE的键值对加上啊 问题解决了,我把struts-config.xml。里有个头文件换了 Spring jdbc 批量更新数据 大家工作几年了,我工作快两年了工资 急:mondrian严重问题? 本人刚学freemarker,有人可以介绍的web例子吗?感激 JSF中tree2组件,如何用程序控制展开某个结点。好象没有相关的方法可用? Spring mvc 用DWR读取后台数据,用extjs显示时一直loading~ 给您磕头了,帮帮小弟吧--在WebLogic上的乱码问题 请教hibernate问题,超简单。 servlet和EJB J2EE有中文文档么,找了好久找不到 伯乐 + 千里马 = ????
还有就是看看struts的版本
如果没有就加上去:org.apache.struts.action.MESSAGE=xxxxxxx
什么玩意儿! 我对CSDN的影象可是一直很好的!!太让人伤心了啊!!
找 application.properties 里面,是不是你 转换 ascii时,少黏贴了字符了吧?
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
Cannot find message resources under key org.apache.struts.action.MESSAGE 你看下你的Application.properties中有没有:org.apache.struts.action.MESSAGE和它所对应的值,
如果没有就加上去:org.apache.struts.action.MESSAGE=xxxxxxx
哥哥没有看懂呀
struts-config.xml配对了没。