I am still unable to get this to unpack automatically, I have to unpack
it myself before starting Tomcat and then it is ok
in my web.xml I have
web-app
servlet
servlet-nameController/servlet-name
servlet-classcom.testapp.Controller/servlet-class
Hi I was originally deploying an application in Tomcat 4 using the
exploded directory structure.
Ive now created a war and tried to deploy that instead.
First attempt it didnt do anything I then changed docbase from appname
to appname.war in server.xml and on starting tomcat it tried to deploy
Hi,
How can I get round this ?
Two ways: either configure the Host in server.xml to unpackWARs (which
is the default I think even for Tomcat 4.x). Or write your app to the
Servlet Spec, which means no File constructions except in the
javax.servlet.context.tempdir directory.
Yoav
This
Thanks I use a File() constructor because the same class is used in a
standalone situation
Ive checked my server.xml and it already seems to have unpacking set.
!-- Define the default virtual host --
Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
should my