WAR FILE AND SERVELETS WAR DIAGRAMS Slideshow 1: ❮ ❯ Slideshow 2: ❮ ❯ Audio file for this Document. War File A war (web archive) File contains files of a web project. It may have servlet, xml, jsp, image, html, css, js etc. files. Here, we will discuss what is war file, how to create war file, how to deploy war file and how to extract war file. ________________________________________ What is war file? web archive (war) file contains all the contents of a web application. It reduces the time duration for transferring file. Advantage of war file saves time: The war file combines all the files into a single unit. So it takes less time while transferring file from client to server. ________________________________________ How to create war file? To create war file, you need to use jar tool of JDK. You need to use -c switch of jar, to create the war file. Go inside the project directory of your project (outside...
Comments
Post a Comment