This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Other Java Products and Servers and the fly likes web.xml vs sun-web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "web.xml vs sun-web.xml" Watch "web.xml vs sun-web.xml" New topic
Author

web.xml vs sun-web.xml

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 804
    
    1

What is the difference between those two? I know web.xml but I do not know sun-web.xml.


SCJP6, SCWCD5, OCE:EJBD6.
BLOG: http://leakfromjavaheap.blogspot.com
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

sun-web.xml is a specific configuration file for GlassFish. For example, things like context-root is defined in sun-web.xml because there is no way you can define it in web.xml.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: web.xml vs sun-web.xml
 
Similar Threads
web.xml Vs server.xml
Requested resource not available
configuring filters
Web.xml not displayed in Netbeans 6.9.1 instead sun-web.xml is being displayed
WEB-INF./web.xml exposed