my dog learned polymorphism*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
 
subject: WAR Files -Help