Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.2.4
-
None
-
None
-
Operating System: other
Platform: All
-
31468
Description
Hello
I downloaded the struts 1.2.4 from location
http://mirrors.isc.org/pub/apache/struts/binaries/jakarta-struts-1.2.4.zip
I tried to run the struts-blank application in tomcat by just copying the war
file in Tomcat and it worked fine.
Then i made a project and compiled the Java classes and it throws an
exception.
While investigating the bug, I found that
in struts-config.xml,
we have entry of Message Resources as
<message-resources parameter="MessageResources" />
but in src folder, the resources file is kept at
src\java\resources\application.properties
and in classes folder The resources file is named as
classes\resources\MessageResources.properties
So when i was running the struts-blank application in tomcat by just copying
the war file in Tomcat and it was working file... but when i compiled
the 'src', it overwrite the MessageResources file by application.properties
and it started giving error on Welcome.jsp page.
I think we should either modify the struts-config.xml file as
<message-resources parameter="resources.application" />
or
1. change in src with application.properties being renamed as
MessageResources.properties.
2. modify the struts-config.xml file as
<message-resources parameter="resources.MessageResources" />
===============================================================================
I want to participate in struts development and bug fixing.
Please let me know some of the assignments, incase possible as i have great
interest in development of open-source projects.
Thanks
Amanpreet
Thanks