Today we are going to learn how to extract war file in java.
War files are important in deploying the web applications.It is a web-archive file bundled with all classes,jsp files,jar files etc.
We already saw a tutorial about how to create a war file.
After extracting war file we can paste the folder to the webapps folder of tomcat to run it.
To extract in command prompt
jar xvf filename.war
To extract a single file or a file starts with single letter
jar xvf filename.war s
this extract all files starts with s
Happy coding.