aspose 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create war file