Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Web.xml" Watch "Web.xml" New topic
Author

Web.xml

Shankar sanjay
Ranch Hand

Joined: Sep 14, 2009
Posts: 117
Hi all,

I know how to use WEB.XML in web application. I want to use more than one web configuration file. Could you please tell me how to do that?

Or instead of WEB.XML, can i use any alternate name (like myweb.xml)?

Thanks in advance.

Regards,

Sankar. S
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61224
    
  66

You can't and no.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Gavi jadz Grandea
Greenhorn

Joined: Sep 11, 2009
Posts: 17
The web.xml file provides configuration and deployment information for the Web components that comprise 'a' Web application.

Changing it's name won't make it detectable by the container(web server).

regards,
-Jadz
 
 
subject: Web.xml