A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jul 15, 2006
Jun 18, 2007 09:18:00
By default, when myapp.war gets deployed, Tomcat creates a myapp directory in the mydir (appBase) directory and expands the war there.
Is it possible to specify a different directory for that expansion to take place?
Joined: Dec 11, 2004
Jun 18, 2007 12:42:00
One option is to set the "unpackWARs" attribute to false.
Tomcat will still unpack it but it will do so 'behind the scenes' somewhere in the work directory.
[ June 18, 2007: Message edited by: Ben Souther ]
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: Expanded WARs?
Why my application on Tomcat works only with localhost?
virtual hosts in stand alone tomcat
how to remove the port number in URL
virtual host in tomcat
Get Host appbase Path of a JSP in Tomcat
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014