Re: Setting Java property inside a webapp

2007-11-14 Thread Kaj Kandler
anyway, I created a bean property, that if set will also set the JVM property, not too great, but should work, as the value is global for all in the tomcat. Any objections to this? K Christopher Schultz wrote: > Kaj, > > Kaj Kandler wrote: >> Hi there, >> I do have a l

Setting Java property inside a webapp

2007-11-14 Thread Kaj Kandler
Hi there, I do have a library, that uses a property to determine some configuration. As a straight Java program I would call java -dmy.property=/my/value ... How can I set this property in the context of a tomcat webapp, like in the web.xml or context.xml? Thanks for the help K -- *** Technic