users@glassfish.java.net

Re: Alternate docroot in an

From: <forums_at_java.net>
Date: Wed, 23 Mar 2011 11:51:35 -0500 (CDT)

sun-web.xml is different from web.xml. You can put the above xml into a file
sun-web.xml and put it in the same directory as web.xml You can find the dtd
in $GLASSFISH_HOME/lib/dtds/sun-web-app_3_0-0.dtd. In GlassFish 3.1, one can
also put the above information in glassfish-web.xml as specified in
glassfish-web-app_3_0-1.dtd. (In this case, you need to change the root
element into glassf0sh-web-app.)

--
[Message sent by forum member 'swchan2']
View Post: http://forums.java.net/node/783831