Difference between revisions of "How to create a war file."

From MyWiki
Jump to: navigation, search
(Created page with "To create war file, you need to use jar tool of JDK. You need to use -c switch of jar, to create the war file. Go inside the project directory of your project (outside the WEB...")
 
(No difference)

Latest revision as of 12:15, 9 November 2017

To create war file, you need to use jar tool of JDK. You need to use -c switch of jar, to create the war file. Go inside the project directory of your project (outside the WEB-INF), then write the following command:

jar -cvf projectname.war *