在struts1.2中使用bean:write标签显示数字类型的数据是,总是出现以下异常:
Cannot find message resources under key org.apache.struts.action.MESSAGE
解决的办法是在struts-config中加入以下一段代码:
< message-resources parameter = "ApplicationResources" />
本文介绍在Struts1.2框架中使用bean:write标签显示数字类型数据时遇到的异常问题及解决方案。通过在配置文件中加入特定的message-resources参数设置,可以有效解决该异常。
在struts1.2中使用bean:write标签显示数字类型的数据是,总是出现以下异常:
Cannot find message resources under key org.apache.struts.action.MESSAGE
解决的办法是在struts-config中加入以下一段代码:
< message-resources parameter = "ApplicationResources" />
586

被折叠的 条评论
为什么被折叠?