Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Creating .WAR files

  Asked By: Lucas    Date: May 01    Category: Java    Views: 1168

I Write a JSP Project With jBuilder 2006,And Now i Want to Upload it
To a JspHost..it seems That i have To Convert My project In to a War
file....how can I create .war file?



4 Answers Found

Answer #1    Answered By: Adelbert Fischer     Answered On: May 01

There are many ways to create a web app package. You can use Ant or Maven. I am sure your JBuilder also have tools to export packages as .war.
I believe that most of the IDE tools are able to create .jar and/or .war files.

Answer #2    Answered By: Bian Nguyen     Answered On: May 01

Ant script is the best, that’s what I use for all of my packaging needs: .war, .jar, .ear, etc…

If you can write  a .cmd file to make a .jar, just name your destination file as .war.

Answer #3    Answered By: Daniel Jones     Answered On: May 01

ZIP it (using zip utilities like WinZip) and
change it's extension to .war and then
deploy it.

Answer #4    Answered By: Mercedes Andrews     Answered On: May 01

When you create a WebModule in JBuilder there is a check box there, when you check it, its automatically create WAR file every time you build your project.

Didn't find what you were looking for? Find more on Creating .WAR files Or get search suggestion and latest updates.