This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Servlets and the fly likes how to create .war? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "how to create .war?" Watch "how to create .war?" New topic

how to create .war?

liang gu
Ranch Hand

Joined: Nov 05, 2001
Posts: 89
I am using Structs. I like to know how to create the deploy .war file?
Thanks in advance
Chris Stewart
Ranch Hand

Joined: Sep 14, 2002
Posts: 184
The same way you would create a jar file. Just change the jar to war in your commands.
David Brafford
Ranch Hand

Joined: Feb 11, 2001
Posts: 91
For creating the .war file, I recommend
using Ant
You can set it up so that you can do a build,
or a build with .war file creation and deploy
to your container ( perhaps Tomcat? ). There
are good examples for writing that type of
Ant script.
Considering the Certified Java Programmer Exam?
Get JCertify!
Eckel, Baldwin, Green, and more
GeeCON Prague 2014
subject: how to create .war?