This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 60785
    
  65

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web.xml
 
Similar Threads
WEB-INF./web.xml exposed
what is the use of xml
Spring Transaction using AOP in EJB Project
web.xml files
How to Logout and clear the user details in JAAS