Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

confuse with web.xml in tomcat and jboss

 
Jack Lam
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic