Re: Determining file locations in tomcat

2006-05-16 Thread Mark Petrovic
-Original Message- From: Mark Petrovic [mailto:[EMAIL PROTECTED] Sent: Mon 5/15/2006 9:07 PM To: Tomcat Users List Subject: Re: Determining file locations in tomcat You can put the path in an in the application's web.xml . Then retrieve it at runtime in your servlet.init() method us

RE: Determining file locations in tomcat

2006-05-15 Thread Benjamin Armintor
Petrovic [mailto:[EMAIL PROTECTED] Sent: Mon 5/15/2006 9:07 PM To: Tomcat Users List Subject: Re: Determining file locations in tomcat You can put the path in an in the application's web.xml. Then retrieve it at runtime in your servlet.init() method using getInitParameter("path"

Re: Determining file locations in tomcat

2006-05-15 Thread Mark Petrovic
You can put the path in an in the application's web.xml. Then retrieve it at runtime in your servlet.init() method using getInitParameter("path"). On 5/15/06, Calvin Deiterich <[EMAIL PROTECTED]> wrote: I need to place a file(.xsl) in with a tomcat servlet application and I do not want to har

Determining file locations in tomcat

2006-05-15 Thread Calvin Deiterich
I need to place a file(.xsl) in with a tomcat servlet application and I do not want to hard-code the path into the java code. I want the file to be in the \webapps\\WebContent\xml\xslt\ path. What is the best way to handle this. Thanks Calvin -- http://mywebpages.comcast.net/tnczoo/ - "If a