struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paradis, André" <andre.para...@versalys.com>
Subject RE: iPlanet OT: Why do I have to add jars in WEB-INF/lib to my classpath?
Date Tue, 21 Aug 2001 18:08:04 GMT
Matt,

I package my war file with a build file using ant. I just copy all my
jar files in web-inf/lib, then jar the whole directory structure into a
.war, and deploy the file using iasdeploy.

Once deployed, all jar file contained in my war file end-up
beeing uncompressed in the web-inf/lib directory under apps/appname in
ias directory.  I supppose they (iPlanet) only put appName/web-inf/lib
in classpath, so you have to uncompress
your jar files. I find that annoying to do, so i use my build file to
deploy when new jar files are added to the project.

post if you find a better explanation or a fix for this behavior.

Andre Paradis

-----Original Message-----
From: Matt Raible [mailto:matt_raible@yahoo.com]
Sent: August 21, 2001 1:08 PM
To: struts-user@jakarta.apache.org
Subject: iPlanet OT: Why do I have to add jars in WEB-INF/lib to my
classpath?


Does anyone know why I have to add all the jars in my WEB-INF/lib
directory
to my classpath, and also WEB-INF/classes?  I thought you were supposed
to
get these for free?

I'm on NT4, iPlanet Application Server 6.0 SP3.

My directory structure is:

APPS
    - AppName
        - WarName
            -WEB-INF
            - classes
            -lib
        - JarName

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Mime
View raw message