File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes how to create war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to create war file" Watch "how to create war file" New topic
Author

how to create war file

swathi valasala
Greenhorn

Joined: Feb 24, 2008
Posts: 4
hi
im the new one i dont know how to run weblogic i want to how to create war file and what we deploy in that war file and why we want to create war file
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

To create one:

CD into the root directory of your web app (the one that contains the WEB-INF directory)
Type:

This will create a war file in the current directory.


Why create them?
Because they are a very easy, clean, and dependable way to ship and deploy an entire web application as a single file.

If you have a running version of Tomcat on your machine (5x or higher), you can see how easy it is to install war files by going to my site and following the directions for any of the demo apps there. It takes between 3 to 5 clicks to install each of them.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
 
subject: how to create war file
 
Similar Threads
How to create WAR file with Resource?
on war file
MyEclipse + Creating War
Obfuscation
Multiple war in an ear file