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

auto-reload of properties not working with jetty and struts 2.2.1.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1.1
    • 2.2.3
    • Other
    • None

    Description

      Steps to reproduce:

      • Download Struts 2.2.1.1 : http://struts.apache.org/download.cgi#struts2211
      • Extract
      • cd src/apps/mailreader
      • change pom.xml: <scanIntervalSeconds>0</scanIntervalSeconds>
      • change src/main/java/struts.xml
        <constant name="struts.devMode" value="true" />
        <constant name="struts.i18n.reload" value="true" />
        <constant name="struts.configuration.xml.reload" value="true" />
      • mvn jetty:run
      • load http://localhost:8080/struts2-mailreader/Welcome.do
      • change ./target/classes/mailreader2/MailreaderSupport.properties
        index.heading=MailReader Demonstration Application Options CHANGED DYNAMICALLY
      • reload in the browser
      • => the displayed value does not reflect the change in ./target/classes/mailreader2/MailreaderSupport.properties

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            samokk Sami Dalouche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: