Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
1.2.4
-
None
-
None
-
Operating System: Windows XP
Platform: PC
-
33608
Description
This is not the biggest pf problems, but probably easy to fix. It did take me a
little while to figure it out and it might help someone else's frustration in
the future.
In the struts-config.xml file, the resources file is listed as
<message-resources parameter="MessageResources" />
However, the WAR file packs an application.properties file.
So out of the box, when trying to see if the welcome page will come up, you get
a stack tracke with this at the top
javax.servlet.jsp.JspException: Missing message for key "welcome.title"
going into struts-config.xml and changing to
<message-resources parameter="resources.application" />
makes everything work fine.