# Re: Stupid question about properties URL

From: Luc Saint-Elie <lse@imaginet.fr>
Date: Fri, 30 Apr 1999 11:16:29 -0400 (EDT)
Message-Id: <4.1.19990430170251.01bd5ea0@192.168.0.2>

Well.. my english is..

I don't want to access this file by Java code.
What I have to do is to set up a servlet properties (in Jigsaw admin)
The property is a file url (the url of a file named cocoon.properties)
property (like in
http://www.w3.org/Jigsaw/Doc/User/servlets.html#parameters)

I don't know exactly if

- This URL is relative to Jigsaw
- This URL is relative to the directory where my .jar file (the one that
contains the servlet) is situated, because my servlet is not a .class file
located in the /servlet directory but a .
- This URL is relative to Jigsaw itself

And as I use Windows (not unix alas)

If I have to use
- the "Bill way to write path" (D:\foo\bar\stuff\cocoon.properties)
- The Unix way to write path (/foo/bar/stuff/cocoon.properties)
- Another method (like D:\\foo\\bar\\stuff\\cocoon.properties)

Le 16:56 30/04/99 +0200, Benoit Mahe a écrit:

>> How does Jigsaw handle the path under windows 98 ?
>> I have a path to set up for a servlet properties.
>
>Ok, but what do you do with this path? new File(), getResource()?
>If you are using getResource
>
>should works. This is relative to the servlet directory.

+------------------------------------------------+
| Luc Saint-Elie                                 |
| 53, rue Caulaincourt                           |
| 75018  Paris France                            |
| Tel: 01 42 52 09 62 / 06 12 90 19 65           |
| email : luc@interpasnet.com                    |
+------------------------------------------------+
| Servlet Taverne a site devoted to servlets     |
| ..and Java server side technologies            |
|           ATTENTION NEW URL !!!                |
| url : http://www.interpasnet.com/JSS           |
+------------------------------------------------+

Received on Friday, 30 April 1999 11:21:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT