> -----Original Message----- > From: Anthony Eden [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2003 4:45 PM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] Configuration in /WEB-INF > > > There is an interesting problem with using the ClassLoader or the > ServletContext for getting resource data: there is no way > using the APIs > to determine if the resource has been modified. > > One workaround is to check the getRealPath() method to see if it is > available and use it if it is to build a real file object > which you can > use to determine the last modified date. Another possibility is to > specify a reload interval for the resource. > > Does XWork (and/or WW2) provide either of these methods for reloading > configuration resources? > > -Anthony >
These file reloading functions have been pushed into OSCore, but yes... It will check file time stamps for changes. Jason ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork