File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
content in war file
Joined: Jul 18, 2006
Feb 13, 2007 21:45:00
what must be present in the content of WAR file and what are optional?
Author and ninkuma
Joined: Jan 10, 2002
Feb 13, 2007 22:05:00
This is the sort of thing that is best looked up in the Spec.
A link to the
Specification can be found in the
Asking smart questions
Books by Bear
Joined: Jul 30, 2006
Feb 14, 2007 04:54:00
we can deploy our web-application in two ways.
1.exploded directory structure
2.war(web archieve) file
WARFILE is better than expolded directory structure. we can easily export and import WARFILE .
Joined: Jul 04, 2004
Feb 15, 2007 01:06:00
war file when put in the server...once it gets expanded will be same as the
option 1 (exploded directory structure) in Janakiram's answer...
the contents...same as what you would put in the above option.
Extra stuff would be the meta-inf directory and manifest.mf file...
Contents would be html,jsps,images,css,jars,classes,tlds,tags,web.xml,config files,etc..(what a normal web application has)
Amar Deep Singh Chaudhary
Joined: Dec 26, 2006
Feb 16, 2007 23:57:00
hi Arun !
In the war file we placed the all contents which we want to access through the browser including html files,jsp files images classes and packege and the web.xml file in the deployment directory structure.
AMAR DEEP CHAUDHARY
"a mind thought never dies."
"A thinking mind never dies"
I agree. Here's the link:
subject: content in war file
Reading Java Mail
between .ear file and .war file
difference btn Jar, War and Ear File
Cannot able to create a wsdl file
difference between jar and war file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015