Struts 2
  1. Struts 2
  2. WW-4260

themes.properties cannot be loaded using ServletContext

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.16
    • Fix Version/s: 2.3.20
    • Component/s: Integration
    • Labels:
      None

      Description

      Right now when defining a new theme and overriding just separated files, all the files and themes.properties must lay under classpath (e.g. in src/main/resources when using Maven).

      This all is because TemplateEngine doesn't use ServletContext to resolve path to themes.properties.

        Issue Links

          Activity

            People

            • Assignee:
              Lukasz Lenart
              Reporter:
              Lukasz Lenart
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development