Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4379

LocalizedTestUtil by ClassLoader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.16.3
    • 2.3.20
    • None
    • JBoss AS 7.x and JBoss EAP 6.x, JVM 1.7

    Description

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

      Issue:
      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.

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            foogaro Luigi Fugaro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: