Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
stanlick
Post subject: Struts-config.xml reload glitch  PostPosted: Jan 06, 2005 - 08:46 PM
Veteran Member
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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jan 07, 2005 - 04:29 PM
Moderator
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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
stanlick
Post subject: Struts-config.xml reload glitch  PostPosted: Jan 07, 2005 - 06:18 PM
Veteran Member
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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jan 08, 2005 - 02:45 AM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6799

Scott,

Neither do, to my knowledge.

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits