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

RE: find where webapp installed via java code

2007-01-25 Thread PATTUS, Jean-Philippe
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 David and thanks

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 David Delbecq
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 David and thanks for responding, 1. I

Re: find where webapp installed via java code

2007-01-25 Thread Pid
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 David and thanks for responding, 1. I am using

Re: find where webapp installed via java code

2007-01-25 Thread Christian Spatz
[EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org 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 been exploded to /tomcat/webapps