Hello!
I was trying to deploy a Google Web Toolkit Sample
Application(
http://code.google.com/p/google-web-toolkit/downloads/detail?nam
e=Tutorial-GettingStarted-2.1.zip) to GlassFish Server Open Source Edition
3.1 (build 43).
It didn't work.
The workaround I found was to swap the <servlet> and the
<welcome-file-list> elements in \WEB-INF\web.xml (the deployment
descriptor) .
But according to JavaT Servlet Specification, version 3.0(Specification:
JSR-000315 Java(tm) Servlet Specification Version: 3.0 reva Release: 6
February 2011)(
http://download.oracle.com/otndocs/jcp/servlet-3.0-mrel-eval-oth-JSpec/) on
page 146:
"The web-app element is the root deployment descriptor for a Web
application...All sub elements under this element can be in an arbitrary
order."
So I think that for the Glassfish server the order of sub-elements in
web.xml do matters, which is not correct according the specification.
Buy!
Nikolay Stefanov