my dog learned polymorphism*
The moose likes Servlets and the fly likes Help with  .war files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Help with  .war files" Watch "Help with  .war files" New topic
Author

Help with .war files

Ajan Balakrishnan
Ranch Hand

Joined: Jan 04, 2001
Posts: 71
Hi guys,
Anybody got an idea to extract contents from .war files like the one's comes with Tomcat. Any utilities/tools available.
Any help greatly appreciated
Thanx
Ajan
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Just use jar. Both .war and .ear files are just .jar files with a certain structure (and a .jar file is in turn a .zip file with meta-information added, so if you don't have jar you can simply rename the file to .zip and open it).
- Peter
Ajan Balakrishnan
Ranch Hand

Joined: Jan 04, 2001
Posts: 71
Thanx Peter for your reply. I know the .jar can be opened with any zip utilities. I tried the same thing with .war but no luck.
Even i renamed the .war to zip and tried still luck doesnot seem to turn out my way.

Thanx again
Ajan


[This message has been edited by Ajan Balakrishnan (edited February 07, 2001).]
 
wood burning stoves
 
subject: Help with .war files
 
Similar Threads
How to create WAR file with Resource?
war files?
How does one make a *%$#@ .war file?
Error while trying to make war file
How to Update WarFile in Maven POM.xml