How to see the content of .war file in mac

May 07, 2015 | No comments

How to see the content of .war file in mac

A WAR file (Web Application Resource or Web application Archive) is a file used to distribute a collection of files and folders associated with web application. Sometimes we want to look inside the war file to know what files or folders are inside the war file.
jar with option -xvf will extract the content of the war file. Following command will extract the content of blogapp.war file into the current directory.
jar -xvf blogapp.war
Content of the blogapp.war file

No comments :

Post a Comment

Please leave your message queries or suggetions.

Note: Only a member of this blog may post a comment.