 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: Struts-config.xml reload glitch
Posted: Jan 06, 2005 - 08:46 PM
|
|
Veteran Member

Joined: Oct 01, 2004
Posts: 73
|
|
:evil:
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 |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 07, 2005 - 04:29 PM
|
|
Moderator


Joined: May 06, 2003
Posts: 6799
|
|
Scott,
| Quote: |
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. |
_________________ --Scott
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject: Struts-config.xml reload glitch
Posted: Jan 07, 2005 - 06:18 PM
|
|
Veteran Member

Joined: Oct 01, 2004
Posts: 73
|
|
Scott --
Can you tell me if MyEclipse (or Eclipse) supports the ability to attach a listener to the Struts config file?
Scott |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 08, 2005 - 02:45 AM
|
|
Moderator


Joined: May 06, 2003
Posts: 6799
|
|
Scott,
Neither do, to my knowledge. |
_________________ --Scott
MyEclipse Support
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |