In Windows NT, just go into your environmental settings and add your
path to the PATH statement.
Right-click My Computer-properties-Advanced-Environmental Variables
(Windows XP specific directions, but it's in a similar place on NT)
- Andrew
-Original Message-
From: Pearsall, Kyle
How did you install the service? Chances are you need to add that to your service
installation.
-Original Message-
From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 11:36 AM
To: 'Tomcat Users List'
Subject: RE: PATH issue
In Windows NT, just go into your
Hi Kyle
Run the following code in your servlet.
ServletContext sc = getServletContext();
String RootPath = sc.getRealPath(/);
This will return the path where the context is. Ie:
$TOMCAT_HOME/webapps/yourapp
This will work in all situations no matter where your app is installed
Hope this helps
No promises, but it would be interesting if you created a key for tomcat.exe
in:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths
-Original Message-
From: Pearsall, Kyle [mailto:[EMAIL PROTECTED]]
Sent: 10 July, 2002 11:32 AM
To: Tomcat (E-mail)
Subject: PATH
[mailto:[EMAIL PROTECTED]]
Sent: 10 July 2002 18:32
To: 'Tomcat Users List'
Subject:RE: PATH issue
Hi Kyle
Run the following code in your servlet.
ServletContext sc = getServletContext();
String RootPath = sc.getRealPath(/);
This will return the path where the context is. Ie
There is no platform independent manner to specify JNI code library
locations.
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: 10 July, 2002 9:54 PM
To: Tomcat Users List
Subject: RE: PATH issue
It is platform independent, but not guaranteed to work in the case
/2002 -0600, you wrote:
There is no platform independent manner to specify JNI code library
locations.
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: 10 July, 2002 9:54 PM
To: Tomcat Users List
Subject: RE: PATH issue
It is platform independent, but not guaranteed