wood burning stoves 2.0
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
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

web.xml vs sun-web.xml

Lucas Smith
Ranch Hand

Joined: Apr 20, 2009
Posts: 808

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

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
It's not a secret anymore!