Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How Container Recoginized cYour Web.XMl file is Configtation File  RSS feed

 
sirisha makkapati
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How Container Recoginized cYour Web.XMl file is Configtation File
An One Tell me Please
Thanks..
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sirisha makkapati:
How Container Recoginized cYour Web.XMl file is Configtation File
An One Tell me Please
Thanks..


The container knows the name of the file and the location of it.The the specification mentions that properly , that which is the configuration file , what is its name and where to look for it.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It won't recognize it if you spell it that way.
It's "web.xml" (all lower case).
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The web.xml file is the file the Servlet container knows to look for, and it knows to look for it in the WEB-INF folder. It's just part of the responsibility of the web container to know this.

Is there a deeper meaning to your question? Are you having a problem running a war file?

-Cameron McKenzie
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!