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 2004/09/24 12:14:25 UTC

DO NOT REPLY [Bug 31399] New: - blank struts webapp

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=31399>.
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=31399

blank struts webapp

           Summary: blank struts webapp
           Product: Struts
           Version: 1.2.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Example
        AssignedTo: dev@struts.apache.org
        ReportedBy: walle@post.utfors.se


Struts-config.xml => <message-resources parameter="MessageResources" />
This file is located in WEB-INF/classes/ and WEB-INF/classes/resources but not
in WEB-INF/src/java 

However, the "old" resource file can be found at WEB-INF\src\java\resources

Solution:
Move MessageResources.properties to WEB-INF\src\java
delete dir WEB-INF/src/java/resources
delete dir WEB-INF/classes/resources

or
change <message-resources parameter="MessageResources" /> to <message-resources
parameter="resources.MessageResources" />
Move MessageResources.properties to WEB-INF/src/java/resources
delete file WEB-INF/src/java/resources/application.properties
delete file WEB-INF/classes/MessageResources.properties

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org