Java - how to use jar command for .war files

How to view contents of a war file with the jar command.
How to create a .war file example             

Java POJO

What is a servlet?

Tags: