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 file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to create war file" Watch "how to create war file" New topic

how to create war file

swathi valasala

Joined: Feb 24, 2008
Posts: 4
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

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)

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:
subject: how to create war file
It's not a secret anymore!