Include something like this in the Servlet "init" method:
System.out.println("Working directory :"+System.getProperty("user.dir"));
With IIS ISAPI plugins such as ServletExec you get <winnt>\system32
With Netscape WAI plugins such as JRun you get the directory where you run
the
serlet engine.
Place your properties files in that folder.
Best regards
Javier Borrajo
www.tid.es
>Want use properties files from servlets to use with resource bundles, but
don't
>know where to put the properties files. If I am using JSWDK and the default
>default.cfg, Where does the server look for properties files? I've tried
putting
>them in the same directory as classes, and as servlets, and even as other
>non-java files such as .gifs without luck. My servlets can find the gifs
using
>relative paths, but not the properties files.
>
>Paula Lumby
>IBM VisualAge for Java/C++/RPG Services
>tel: 448-2517 (T/L) 778-2517
>Room: 2G42C 2G/KB4/1150/TOR
>e-mail: [EMAIL PROTECTED]
>
>External Address:
>IBM Toronto Laboratory
>1150 Eglinton Avenue East
>Toronto, Ontario, Canada, M3C 1H7
>
>FAX: (416) 448-4414
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JSP-INTEREST". For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".