wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 175
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 docs.opensimplatform.org
(FYI, Getting it tattooed on is a bit much.)
Skip Cole
Ranch Hand

Joined: Jan 05, 2001
Posts: 175
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 (http://java.sun.com/j2ee/tutorial/index.html) 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 http://jakarta.apache.org/ ) 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 frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Consider Paul's rocket mass heater.
subject: How does one make a *%$#@ .war file?
Similar Threads
how many portlet I can put in one *. war file
HelloWorld.jsp Is Jarred Into a .war File
Create license for war file.
How to make ear file?