This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff 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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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
 
Consider Paul's rocket mass heater.
 
subject: web.xml vs sun-web.xml