File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes confuse with web.xml in tomcat and jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "confuse with web.xml in tomcat and jboss" Watch "confuse with web.xml in tomcat and jboss" New topic

confuse with web.xml in tomcat and jboss

Jack Lam

Joined: Jul 09, 2004
Posts: 17
Hi everyone,

i am a student, i am now try to use jboss instead of using tomcat in my exercise. but i found that there are 2 web.xml in jboss package
one in:
the other one in:

why have so many web.xml in one server ? :roll:


SCJP 1.4 , SCWCD (in progress)
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

There will be one web.xml per web application.Root.war and jmx-console.war are 2 different web app. I suggest you to read the Sun tutorial on web application deployment.

I agree. Here's the link:
subject: confuse with web.xml in tomcat and jboss
Similar Threads
Chapter 3 and JBoss
error while invoking jndi list in jmx - console
Incompletely Deployed Packages in jboss
Exploded deployment not working
Trying to deploy a war file with datasources to JBoss