You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/02/16 16:41:03 UTC
DO NOT REPLY [Bug 33608] New: -
struts-blank.war
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33608>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33608
Summary: struts-blank.war <message-resources
parameter="MessageResources" />
Product: Struts
Version: 1.2.4
Platform: PC
URL: http://struts.apache.org/download.cgi
OS/Version: Windows XP
Status: NEW
Severity: minor
Priority: P4
Component: Example
AssignedTo: dev@struts.apache.org
ReportedBy: aremsan@yahoo.com
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.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org