File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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?
It's not a secret anymore!