aspose file tools*
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 Spring in Action this week in the Spring 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