Re: Tomcat and WO System Properties...
Re: Tomcat and WO System Properties...
- Subject: Re: Tomcat and WO System Properties...
- From: Colin Clark <email@hidden>
- Date: Wed, 9 Mar 2005 15:47:55 -0500
Hi Seejo,
As far as I know, when you're deploying in a servlet environment the
Properties file in your application bundle will be automatically loaded
by WebObjects as long as it is located in the
WEB-INF/<app_bundle_name>.woa/Contents/Resources directory.
If you're really stuck getting WO to load the Properties file, you
could load it yourself. Have a look at the Javadocs for the
java.util.Properties class for more information.
I hope that helps,
Colin
On Wednesday, March 9, 2005, at 02:14 PM, Seejo Pylappan wrote:
Hi,
I am trying to deploy a webobjects application under tomcat. The
application has lot of properties set in the Properties file which are
retrieved using the java.lang.System.getProperty() call. This does not
work when the app is deployed under tomcat, all the properties are
returned as null. Where can I set these properties in Tomcat so that
the call returns the right information. Anyone else run into similar
problem?
Thanks,
Seejo
---
Colin Clark
Dynamic Web and Database Development Lead,
Resource Centre for Academic Technology,
University of Toronto
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden