File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes more than one web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "more than one web.xml" Watch "more than one web.xml" New topic

more than one web.xml

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 580
I am working in JEE web application,in that I can find many web.xml.I little bit confused about,as far as my understanding, in web application only one web.xml can it possible?.Anyone please explain about in detail ,
Yves Zoundi
Ranch Hand

Joined: Aug 31, 2008
Posts: 47
One thing you want to do is read some more tutorials before starting to develop web applications.

Author of VFSJFileChooser and XPontus XML Editor
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33134

A web application can have multiple web modules (war files). Each web module has a separate web.xml.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: more than one web.xml
It's not a secret anymore!