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 does one make a *%$#@ .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 does one make a *%$#@ .war file?" Watch "How does one make a *%$#@ .war file?" New topic

How does one make a *%$#@ .war file?

Skip Cole
Ranch Hand

Joined: Jan 05, 2001
Posts: 177
How does one make a *%$#@ .war file?
I am trying to use BEA Weblogic 6, and it looks for my JSP's in .war files, which I cannot find out how to make.
Any help will be greatly appreciated.

If you love me, you will visit
(FYI, Getting it tattooed on is a bit much.)
Skip Cole
Ranch Hand

Joined: Jan 05, 2001
Posts: 177
Forget it.
As usual, the moment I ask an obvious question, 20 seconds later I find the answer. (Of course if I had not asked, I would have run around this forever.)
Answer to this question: start the j2ee server, start the deploytool, fiddle with deploytool until it works.
I'm going to actually do the j2ee tutorial ( and learn something.
[This message has been edited by Skip Cole (edited April 04, 2001).]
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
You can do it the long way, building a directoiry structure and usinj "jar" to make the WAR file, but this can be a bit tricky if you are not fully conversant with the layout and contents of a WAR file.
These days I use the Ant build tool (from ) for most of my java development, and it conveniently comes with a "war" task which makes generating a sensible war from a project almost trivial.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: How does one make a *%$#@ .war file?
It's not a secret anymore!