Why not use the property mechanism to find the template files? Any time you rely on a servlet/app using an absolute file path, you are asking for trouble.
Tim -----Original Message----- From: Farrow, Marc [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 7:24 PM To: Tomcat Users List Subject: RE: System.setProperty/System.getProperty The differences are between testing environment and production/semi-production environment between windows and other platforms. We store templates, etc in a certain folder and have to read them. However the "path" is different between Oses (not just specific to OpenVMS). I want to use some technique to handle the "path" differences. Just figured if I could add them to some Property/Locale Resource it would be easiest. -----Original Message----- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 7:18 PM To: 'Tomcat Users List' Subject: RE: System.setProperty/System.getProperty Wow. OpenVMS is still in existence? And it has a JVM? Double Wow! How come the I/O is different? Shouldn't Java handle that for you? Tim (Former DECcie, 1988-1997) -----Original Message----- From: Farrow, Marc [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 7:03 PM To: [EMAIL PROTECTED] Apache. Org (E-mail) Subject: System.setProperty/System.getProperty Is there an easy way within Tomcat to set System properties so that all webapps have access to them at startup? Basically, I would like to add my own properties to the System object at startup as opposed to using environment entries. Maybe I am over thinking things. Or better yet, what is the best way to use Resource Locales per O.S.? We test/deploy on win2k but have live server of OpenVMS. The main reason I need this is because File I/O is a lot different between the platforms. Thanks, Marc --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]