struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From foogaro <>
Subject [GitHub] struts pull request: Localized by classloader
Date Wed, 30 Jul 2014 09:56:34 GMT
GitHub user foogaro opened a pull request:

    Localized by classloader

    **This improvement enables struts to be used as JBoss AS 7/WildFly 8/JBoss EAP 6 module.**
    having two or more applications using the same "struts-module" (meant as JBoss AS 7 module),
    each application with its own resource bundle, the first one which initialized the LocalizedTextUtil
"wins" over the second and next application's resource bundles. Furthermore, to avoid overwriting
bundles, now each bundle is indexed into the bundlesMap by its key (resourceBundleName) and
prefixed by ClassLoader hash code.

You can merge this pull request into a Git repository by running:

    $ git pull localized-by-classloader

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20
commit 2de0f4b5b10627c53f85a895d310fdaa53c0d2b0
Author: Luigi Fugaro <>
Date:   2014-07-29T15:44:28Z

    This update enables struts to be used as JBoss AS 7/WildFly 8/JBoss EAP 6 module.

commit 4586d1f148ef43c7582038306a626144c75d0e49
Author: Luigi Fugaro <>
Date:   2014-07-29T15:46:04Z

    Added pom's version as

commit c826d97cafafc9ce54e15745b23cd211e233c2fa
Author: Luigi Fugaro <>
Date:   2014-07-29T16:44:50Z

    Removed unused code, comments and variables. Also, added delegatedClassLoaderMap to handle
delegatedClassLoader as per Tomcat.

commit d65270b9bb061bf16072e706f53060d3d9ab78ca
Author: Luigi Fugaro <>
Date:   2014-07-30T09:42:46Z

    Deleted internal versioning.


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message