pTutorial

New way to learn Programming

How to create a java war file In Eclipse

As I discussed earlier about Java WAR file and how to create war file in CMD previous sections. In this section we will discuss about "How to create war file in Eclipse IDE with the help of Images.

How to create WAR file in eclipse?

First of all open Eclipse and create dynamic web project which contains all the Dynamic and static resources like JSP and html. One of the Dynamic page takes one input from the user and calculate the factorial of this number and result will be shown on the other page. We will create the WAR file of this web Project.

Steps for creating WAR file in Eclipse

Step 1: Right click on the project and click on Export.


How to create WAR file in eclipse


Step 2: Select the WAR file and click on Next.

Step 3: Enter the name and choose the destination and click on Finish.

How to create WAR file in eclipse

WAR file has been successfully created. You can see the WAR file in the choose folder.


QUOTES OF THE DAY

A single death is tragedy, a million death is a static.

LIKE ON FACEBOOK

+1 ON GOOGLE

SHARE ON TWITTER