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 does one make a *%$#@ .war file? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "How does one make a *%$#@ .war file?" Watch "How does one make a *%$#@ .war file?" New topic
Author

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

Skip Cole
Ranch Hand

Joined: Jan 05, 2001
Posts: 174
Hi,
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.
Skip

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: 174
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.
Skip
[This message has been edited by Skip Cole (edited April 04, 2001).]
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
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.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How does one make a *%$#@ .war file?
 
Similar Threads
servlets
HelloWorld.jsp Is Jarred Into a .war File
Create license for war file.
How to make ear file?
how many portlet I can put in one *. war file