This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to create .war?

 
liang gu
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Structs. I like to know how to create the deploy .war file?
Thanks in advance
 
Chris Stewart
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic