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

resource files for non-default modules not loading correctly

           Summary: resource files for non-default modules not loading
                    correctly
           Product: Struts
           Version: 1.1 RC1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Validator Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi,
I am trying to have my application use modules and I followed the examples in
the Struts documentation for creating the modules.  Each module has its own
config file.  I am also having each config file reference its own resource file
with a message-resources tag.  The resource file for the default module is
loading ok but for some reason, the resource files for the other modules are not
loading correctly.  For example, if I have modules mod1 and mod2 where mod1 is
the default module and I have a jsp in mod2 that is trying to use something from
the resource file of mod2, I am getting very weird errors where it will only
display the value for the first key and it can't find the values for the other
keys.  This happens even if I am trying to reference this same key twice in the
same page (the first reference is ok but the second is not).  If I have mod1 use
the same resource file as mod2 (thereby having it loaded by the default module),
everything is ok.  The problem here seems to be that resource files for the
non-default modules are not loading correctly.  Obviously they are loading "to
an extent" because I am able to get the value for the first key that I reference
from them, just nothing else.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to