aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to create .war?" Watch "how to create .war?" New topic
Author

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.
http://java.sun.com/docs/books/tutorial/jar/basics/build.html
David Brafford
Ranch Hand

Joined: Feb 11, 2001
Posts: 91
For creating the .war file, I recommend
using Ant
http://jakarta.apache.org/ant/index.html
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!
http://www.enterprisedeveloper.com/jcertify
Eckel, Baldwin, Green, and more
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create .war?