Re: find where webapp installed via java code

2007-01-25 Thread Christian Spatz
id Delbecq" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, January 25, 2007 2:30 PM Subject: Re: find where webapp installed via java code > Please qualify 'system path in which the executing webapp is running'. > do you mean the if your war has

Re: find where webapp installed via java code

2007-01-25 Thread Pid
from this inputstream and from yis file try the method getPath() or getAbsolutePath() -Message d'origine- De : asaf.lahav [mailto:[EMAIL PROTECTED] Envoyé : jeudi 25 janvier 2007 16:04 À : 'Tomcat Users List' Objet : RE: find where webapp installed via java code Hi D

Re: find where webapp installed via java code

2007-01-25 Thread David Delbecq
quot;com/.../yourfile.properties"); > Create a file from this inputstream and from yis file try the method > getPath() or getAbsolutePath() > > > > -Message d'origine- > De : asaf.lahav [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 25 janvier 2007 16:04 > À : &#x

Re: find where webapp installed via java code

2007-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Asaf, asaf.lahav wrote: > Hi David and thanks for responding, > > 1. I am using an exploded WAR > 2. I want my webapp to contain an additional jars folder (in addition to the > LIB folder) and I would like to know where the webapp is deployed so I'll

RE: find where webapp installed via java code

2007-01-25 Thread PATTUS, Jean-Philippe
ate a file from this inputstream and from yis file try the method getPath() or getAbsolutePath() -Message d'origine- De : asaf.lahav [mailto:[EMAIL PROTECTED] Envoyé : jeudi 25 janvier 2007 16:04 À : 'Tomcat Users List' Objet : RE: find where webapp installed via java

RE: find where webapp installed via java code

2007-01-25 Thread asaf.lahav
ow if there is any better way to accomplish this. Thanks in advance, Asaf -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 3:30 PM To: Tomcat Users List Subject: Re: find where webapp installed via java code Please qualify 'system pat

Re: find where webapp installed via java code

2007-01-25 Thread David Delbecq
Please qualify 'system path in which the executing webapp is running'. do you mean the if your war has been exploded to /tomcat/webapps/myapp/ Then you need to get this path? It can be tricky, because, even if it were possible by some magic including asking class loader where classes binaries are

find where webapp installed via java code

2007-01-25 Thread asaf.lahav
Hi all, I have a servlet in which I need to find the file system path in which the executing webapp is running. 10x, Asaf