A war (web archive) File contains files of a web project. It may have servlet, xml, jsp, image, html, css, js etc. files.
How to create war file
To create war file, we need to use jar tool of JDK.
jar -cvf projectname.war *
-c is used to create file,
-v to generate the verbose output and
-f to specify the arhive file name.
How to deploy war file
How to extract war file
Add new comment
Standard (Image)