This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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
I agree. Here's the link:
subject: how to create .war?
Similar Threads
on war file
javabeans problem
Creating WAR File
How to create WAR file with Resource?
how to create war file