File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Author

confuse with web.xml in tomcat and jboss

Jack Lam
Greenhorn

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:
C:\jboss-4.0.1\server\default\deploy\jbossweb-tomcat50.sar\ROOT.war\WEB-INF\
the other one in:
c:\jboss-4.0.1\server\default\deploy\jmx-console.war\WEB-INF\web.xml

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

thanks


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

Joined: Feb 27, 2002
Posts: 8903

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.


Groovy
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
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