0 votes
in Servlet by
How to create war file?

1 Answer

0 votes
by

The war file can be created using jar tool found in jdk/bin directory. If you are using Eclipse or Netbeans IDE, you can export your project as a war file.

To create war file from console, you can write following code.

jar -cvf abc.war *  

Now all the files of current directory will be converted into abc.war file.

...