Hi all,
I have 3 different files for my web deployment - app.jar, app.war, and
app.properties.

Can I use a WEB-INF structure when using a war file?  I have placed the war
file in Tomcat's webapps directory.  I have then created a directory called
apps with a WEB-INF subdirectory, which has two more subdirectories -
classes and lib.  I have placed the app.jar in the lib directory, and the
app.properties in the classes directory.  My application requires
app.properties to be in the classpath.  My application also needs to be able
to read and write to this properties file.

The jar and properties file aren't visible to the JSP pages in the war file.
I get all kinds of class not found errors.  When I move the jar to
common/lib/, but leave the properties file in classes, the jar is read but
the properties file is not.  I can't place everything in the common folders
anyhow, since I ultimately want to run multiple versions of the software on
the same Tomcat instance.

Am I doing something wrong?  Do I need a web.xml in the WEB-INF directory?
Any other helpful hints would be appreciated.

Tyson
[EMAIL PROTECTED]
www.simdynasty.com




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to