Thanks Chuck for your point. 

Now when i renamed my war to ROOT.war and drop it in webapps folder (without 
any context in server.xml), it deploys fine for the first time as the root app 
(Creates a ROOT folder in webapps),  but if i make any change to any of my jsps 
and drop the new ROOT.war file, it does not pick the changes. 

Do i have to manually delete the ROOT folder that tomcat creates, everytime 
before the fresh deployment?

Im trying different ways to understand what tomcat really is doing. Please 
explain this as i have been through enough confusion already about whats going 
on. 

Again, this is Tomcat 6.0.32, jdk 1.5, windows 7 OS.

Thanks
G



________________________________
From: "Caldarale, Charles R" <chuck.caldar...@unisys.com>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Friday, August 12, 2011 7:28 AM
Subject: RE: Cannot make war file as default app

> From: exquisite [mailto:gautam_exquis...@yahoo.com] 
> Subject: Re: Cannot make war file as default app

> i did not want to rename my war to ROOT.war

And thereby make a lot more work for yourself.  Simply rename it and be done.

Using the horribly outdated and restrictive mechanism of placing <Context> 
elements in server.xml comes from the dark ages; don't go there.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to