2017  Kodetalk | Feedback | Privacy Policy | Terms | About
userimage

How you can deploy a web application using WAR files

I am beginner to web server.I need to know some explanation regarding deployment of WAR file in tomcat server.
userimage
JSPs, servlets, and their supporting files are placed in the proper subdirectories under the web apps directory in Tomcat.  You can make all the files under the web apps directory into one compressed file, which ends with .war file extension.  You can execute a web application by placing a WAR file in the webapps directory.  When a web server starts executing, it pulls out the WAR file¬ís contents into the appropriate webapps sub-directories.
Answer is