did you try setting the init-param in web.xml e.g.
<init-param>
<param-name>my.property</param-name>
<param-value>1</param-value>
</init-param>
M--
----- Original Message -----
From: "Kaj Kandler" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[email protected]>
Sent: Wednesday, November 14, 2007 1:07 PM
Subject: Setting Java property inside a webapp
> 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
> --
>
> *** Technical support for non technical users of OpenOffice.org ***
> *** http://plan-b-for-openoffice.org/ ***
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: [email protected]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]