How does the web container know, when it starts up, that there is a web application already deployed? I'm reading HFSJ, there they told, when the tomcat starts up, it looks for looks for deployed web application. My question, how does it know this?
|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
So, once we deploy a web application, those directories will be created? and if we redeploy, those directories will be overridden? Please confirm! Thanks!
Joined: Jan 20, 2010
So, once we deploy a web application, those directories will be created?
Tomcat has a webapps directory..
how do you deploy?
You put your web application's directory( or WAR file) in the tomcat's webapps directory and you start tomcat , once you do that tomcat finds your directory in webapps directory and deploys your web application.
and if we redeploy, those directories will be overridden? Please confirm! Thanks!
Why will one have to overwrite directories. When you redeploy (ex. restart tomcat) your directory is read and deployed again