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

themes.properties cannot be loaded using ServletContext

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.16
    • 2.3.20
    • Integration
    • 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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: