aspose 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
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: 175
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: 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.
Skip
[This message has been edited by Skip Cole (edited April 04, 2001).]
Frank Carver
Sheriff

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How does one make a *%$#@ .war file?
 
Similar Threads
how many portlet I can put in one *. war file
Create license for war file.
servlets
How to make ear file?
HelloWorld.jsp Is Jarred Into a .war File