ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Java Web Applications
Subject:   type "jar cvf onjava.war" where with what?
Date:   2004-04-28 22:00:30
From:   doubleoevan
Packaging a Web application
Now that we know what a web application is, we can package it for deployment. The standard method for packaging web applications is to use a Web ARchive file (WAR). You can create a WAR file by using Java's archiving tool jar. An example of this would be to change to the root directory of your web application and type the following command:

jar cvf onjava.war .

1 to 2 of 2
1 to 2 of 2