You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Rajiv Singla (JIRA)" <ji...@apache.org> on 2008/10/23 06:16:38 UTC

[jira] Created: (WW-2847) Unable to get messages from Message resources file for keys

Unable to get messages from Message resources file for keys
-----------------------------------------------------------

                 Key: WW-2847
                 URL: https://issues.apache.org/struts/browse/WW-2847
             Project: Struts 2
          Issue Type: Bug
          Components: Integration
    Affects Versions: 2.0.6
         Environment: Websphere 6.1.0.19 App Server, Oracle DB 10g, Struts 2.0.6, Spring and Hibernate 3.0
            Reporter: Rajiv Singla


We have a web app having 3 layers - Action classes, Service or Business Objects and DAOs.
BOs and DAOs are accessed thru interfaces.
We use spring to inject dependency. 

We have defined scope="session" for beans corresponding to actions.
For BOs and DAOs , no scope is defined. We are using applicationContext xml files to define beans.

Labels and buttons names are picked up from MessageResources.properties file.
But on some pages these values are not picked up and labels go missing.

I am new to both Spring and Struts 2 and I am unable to figure that why this is happening.
Message resources are loaded in context and it should be available to all.

Please help me resolve this issue.

Thanks in advance,

Rajiv

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WW-2847) Unable to get messages from Message resources file for keys

Posted by "Philip Luppens (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philip Luppens resolved WW-2847.
--------------------------------

    Resolution: Not A Problem

Please post questions on the Struts user mailing list. 

> Unable to get messages from Message resources file for keys
> -----------------------------------------------------------
>
>                 Key: WW-2847
>                 URL: https://issues.apache.org/struts/browse/WW-2847
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 2.0.6
>         Environment: Websphere 6.1.0.19 App Server, Oracle DB 10g, Struts 2.0.6, Spring and Hibernate 3.0
>            Reporter: Rajiv Singla
>
> We have a web app having 3 layers - Action classes, Service or Business Objects and DAOs.
> BOs and DAOs are accessed thru interfaces.
> We use spring to inject dependency. 
> We have defined scope="session" for beans corresponding to actions.
> For BOs and DAOs , no scope is defined. We are using applicationContext xml files to define beans.
> Labels and buttons names are picked up from MessageResources.properties file.
> But on some pages these values are not picked up and labels go missing.
> I am new to both Spring and Struts 2 and I am unable to figure that why this is happening.
> Message resources are loaded in context and it should be available to all.
> Please help me resolve this issue.
> Thanks in advance,
> Rajiv

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.