Tomcat is extracting the files to localhost/_ because thats where it knows it has to extract anything from the ROOT application.
-- Vivek. On 12/1/05, Gautam Gothoskar <[EMAIL PROTECTED]> wrote: > Mark, > I have deleted the ROOT folder from the webapps > directory. I have the unpackWARs set to true in the > host element in server.xml. My tomcat version is > 4.1.24. > What tomcat does is it loads up the servlet on > startup as I have specified it in web.xml. It extracts > the WEB-INF/classes and lib folder required for the > servlet in TOMCAT_HOME/work/Standalone/localhost/_ > directory. It extracts the jsps and other files as and > when required. But the problem is with stylesheets and > javascript files. These files are not explicitly > called and hence never get extracted. So the jsp does > not find those files. > I also have no ides why tomcat is extracting the > files to TOMCAT_HOME/work/Standalone/localhost/_ . > > Thanks, > Gautam. > > > > --- Mark Thomas <[EMAIL PROTECTED]> wrote: > > > Gautam Gothoskar wrote: > > > Hi Mark, > > > Thanks for the quick reply. But in doing the way > > you > > > have mentioned, tomcat does NOT expand the classes > > etc > > > in the ROOT folder. The application does get > > loaded > > > and work. I was wondering if there is any way that > > the > > > war file could be expanded in the ROOT folder? > > > > > > regards, > > > Gautam. > > > > Any existing ROOT folder has to be deleted before > > any new ROOT.war is > > expanded. This assumes, of course, that you have set > > unpackWARs=true > > > > Mark > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]