This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 8919

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
 
Consider Paul's rocket mass heater.
 
subject: confuse with web.xml in tomcat and jboss