This topic has been archived. It cannot be replied.
-
工作学习 / 求学深造 / WSAD5.0问题请教大虾,急死了!在wsad5.0(Win XP下),运行web project出现以下错误提示:
[6/28/03 20:14:57:827 PDT] 6a806190 WebGroup E SRVE0026E: [Servlet Error]-[Cannot find message resources under key org.apache.struts.action.MESSAGE]: javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE
此web project 可在另外一台win2000, wsad5.0的环境下正常运作,
请问是不是wsad5.0需要特别的设置才能在win xp下运行啊?!
谢谢了!
-pants(老了还得学,痛苦!);
2003-6-28
{444}
(#1262611@0)
-
up!
-pants(老了还得学,痛苦!);
2003-6-28
(#1262623@0)
-
copy struts.jar in WEB-INF/lib
-mssg(mssg);
2003-6-28
(#1262634@0)
-
Thanks! But it's already there.
-pants(老了还得学,痛苦!);
2003-6-28
(#1262638@0)
-
Try thisSpecify the messages resources in the struts-config file:
<message-resources parameter="resources.ApplicationResources">
This can be put after the action-mappings.
-fun4u(小箭↑);
2003-6-28
{173}
(#1262654@0)
-
Thanks a lot! I've had such setting in my struts_config.xml: <message-resources parameter="com.xxx.xx.common.resources.application"/>
-pants(老了还得学,痛苦!);
2003-6-28
(#1262671@0)
-
估计还是这个application.property文件找不到,check它一下是不是在classpath中,应该是在WEB-INF下。
-fun4u(小箭↑);
2003-6-28
(#1262686@0)
-
I just checked it, it's there. What's more, this project does work in another win2000 PC, so I don't think it should be a problem with those .xml,.java,.jsp,.tld... files.Do you have some suggestions about my system environment settings?
-pants(老了还得学,痛苦!);
2003-6-28
{66}
(#1262693@0)
-
Any suggestion for me? Anyway, thanks a lot!
-pants(老了还得学,痛苦!);
2003-6-28
(#1262695@0)
-
check JVM. different winOS may vary
-mssg(mssg);
2003-6-28
(#1262704@0)
-
抱歉!俺是菜鸟,怎么查啊?
-pants(老了还得学,痛苦!);
2003-6-28
(#1262709@0)
-
sorry, no idea about XP.
-mssg(mssg);
2003-6-28
(#1262727@0)
-
anyway, thank you 2 guys!
-pants(老了还得学,痛苦!);
2003-6-28
(#1262736@0)
-
看不到你的电脑,再猜一次。是不是你的XP是中文版,2000是英文版,而你的application.property只有英文locale版本。
-fun4u(小箭↑);
2003-6-28
(#1262777@0)