Re: Windows Environment Variables

2004-10-04 Thread Dov Rosenberg
The web.xml file is located in the /WEB-INF. Inside the web-app element
you can add multiple context-param elements. Each context parameter has a
name/value element nested inside. Like :

web-app
...
context-param

param-nameDomainName/param-name

param-valuedemo/param-value

/context-param
...
/web-app

You can access the context parameters using
ServletConfig.getServletContext().getInitParameter() inside your servlet.



-- 
Dov Rosenberg
Conviveon Corporation
http://www.conviveon.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Windows Environment Variables

2004-10-03 Thread Stuart Weston
Under the one Install of Apache Tomcat upon a Windows 2000 Server we
would like to run multiple applications under the one tomcat service.
But each application requires the same environment variable but to point
at a different location.

 

We have a REPORT60_PATH env variable but each application needs it to
have a different value.  

 

How can we do this ?

 

 

 

Stuart Weston

Environment Manager

Aderant

Level 1

5-7 Corinthian Drive

Albany Centre

Tel: +64 9 414 3300

Fax: +64 9 414 3301

Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

http://www.aderant.com/ http://www.solution6.com/ 

 


##
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

##


Re: Windows Environment Variables

2004-10-03 Thread Dov Rosenberg
Why not add them as context variables in the web.xml?


-- 
Dov Rosenberg
Conviveon Corporation
http://www.conviveon.com


On 10/3/04 9:48 PM, Stuart Weston [EMAIL PROTECTED] wrote:

 Under the one Install of Apache Tomcat upon a Windows 2000 Server we
 would like to run multiple applications under the one tomcat service.
 But each application requires the same environment variable but to point
 at a different location.
 
 
 
 We have a REPORT60_PATH env variable but each application needs it to
 have a different value.
 
 
 
 How can we do this ?
 
 
 
 
 
 
 
 Stuart Weston
 
 Environment Manager
 
 Aderant
 
 Level 1
 
 5-7 Corinthian Drive
 
 Albany Centre
 
 Tel: +64 9 414 3300
 
 Fax: +64 9 414 3301
 
 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 http://www.aderant.com/ http://www.solution6.com/
 
 
 
 
 ##
 Attention: 
 This e-mail message is privileged and confidential. If you are not the
 intended recipient please delete the message and notify the sender.
 Any views or opinions presented are solely those of the author.
 
 ##
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Windows Environment Variables

2004-10-03 Thread Stuart Weston
Excuse my innocence and ignorance. I am a little old Oracle DBA trying
to come to terms with all this stuff.

Er how do I do that ? I am familiar with servlets for Oracle Forms and
using the formsweb.cfg and the env files and was hoping Tomcat had some
thing similar.
 
Thanks for your response.
 

Stuart Weston

Environment Manager

Aderant

Level 1

5-7 Corinthian Drive

Albany Centre

Tel: +64 9 414 3300

Fax: +64 9 414 3301

Email: [EMAIL PROTECTED]

http://www.aderant.com/

 


-Original Message-
From: Dov Rosenberg [mailto:[EMAIL PROTECTED] 
Sent: Monday, 4 October 2004 3:08 p.m.
To: Tomcat Users List
Subject: Re: Windows Environment Variables

Why not add them as context variables in the web.xml?


-- 
Dov Rosenberg
Conviveon Corporation
http://www.conviveon.com


On 10/3/04 9:48 PM, Stuart Weston [EMAIL PROTECTED] wrote:

 Under the one Install of Apache Tomcat upon a Windows 2000 Server we
 would like to run multiple applications under the one tomcat service.
 But each application requires the same environment variable but to
point
 at a different location.
 
 
 
 We have a REPORT60_PATH env variable but each application needs it to
 have a different value.
 
 
 
 How can we do this ?
 
 
 
 
 
 
 
 Stuart Weston
 
 Environment Manager
 
 Aderant
 
 Level 1
 
 5-7 Corinthian Drive
 
 Albany Centre
 
 Tel: +64 9 414 3300
 
 Fax: +64 9 414 3301
 
 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 http://www.aderant.com/ http://www.solution6.com/
 
 
 
 
 ##
 Attention: 
 This e-mail message is privileged and confidential. If you are not the
 intended recipient please delete the message and notify the sender.
 Any views or opinions presented are solely those of the author.
 
 ##
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

##
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

##

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]