-----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
> know how to calculate the location of the second jars folder.
> 
> Let me know if there is any better way to accomplish this.

What's wrong with using ServletContext.getResource? That will give you a
URL to a resource relative to the "context root", which will be either a
directory or the WAR file containing the (non-exploded) webapp.

- From there, you can get an input stream and do anything you want.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFuNAe9CaO5/Lv0PARApG7AKCUfOLvwh5+plLTX24WDPWYEstoEACfU8sI
qfFpVpvQBNnZAarmS92brLY=
=urut
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to