1.

How we can create war file in servlet?

Answer»

In order to create a WAR file, use JDK's JAR tool. Use -c switch of jar for CREATING the war file. Enter the PROJECT directory of your project and write this command: jar -cvf projectname.war * Here, -c is for creating file, -v for generating verbose output and -f for specifying name of the ARCHIVE file.



Discussion

No Comment Found