facebook

Struts-config.xml reload glitch

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #222306 Reply

    Scott
    Member

    👿

    I am running Tomcat and have web.xml configured to reload classes as they are touched. Unfortunately, changes to the struts xml file are not forcing the app to reload! If I touch a jsp of java file, this forces Tomcat to reload my “struts changes.” This is silly and I would like to get your feedback on how to reload the app when changes are made to the struts-config.xml. I have experimented with the redelpoy feature, but that requires more clicking/typing than touching a java file.

    Thanks,
    Scott Stanlick

    #222357 Reply

    Scott Anderson
    Participant

    Scott,

    Unfortunately, changes to the struts xml file are not forcing the app to reload!

    No, Tomcat doesn’t automatically force a context reload when a struts config file is changed. However, if you touch web.xml, you’ll see you get the reload behavior you’d like.

    #222369 Reply

    Scott
    Member

    Scott —

    Can you tell me if MyEclipse (or Eclipse) supports the ability to attach a listener to the Struts config file?

    Scott

    #222396 Reply

    Scott Anderson
    Participant

    Scott,

    Neither do, to my knowledge.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Struts-config.xml reload glitch

You must be logged in to post in the forum log in