wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes WAR Files -Help 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "WAR Files -Help" Watch "WAR Files -Help" New topic
Author

WAR Files -Help

muthulingam Jayakanthan
Ranch Hand

Joined: Feb 27, 2005
Posts: 43
Which files is mandory in a WAR file. I think web.xml is mandatory. Am I right, please help
alzamabar
Ranch Hand

Joined: Jul 24, 2002
Posts: 379
Originally posted by muthulingam Jayakanthan:
Which files is mandory in a WAR file. I think web.xml is mandatory. Am I right, please help


You should put anything you put in your web application in a WAR file. Additionally it has a META-INF folder with a MANIFEST.MF file in it, through which you can declare libraries dependencies. This is the only difference with the same web-app deployed as a normal folder hierarchy.


Marco Tedone<br />SCJP1.4,SCJP5,SCBCD,SCWCD
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WAR Files -Help
 
Similar Threads
enable HTTPS in jboss
war files dependecy on the jar files in the war
How to deploye
How to create WAR file with Resource?
How to Update WarFile in Maven POM.xml