I\'m trying to find a way to explicitly specify the context path of a web application being deployed to Glassfish 3.1.2.2 but I\'ve had no luck so far. Can anyone provide gu
Add a glassfish-web.xml file in the same folder as web.xml
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
<glassfish-web-app error-url="">
<context-root>/FooWS</context-root>
</glassfish-web-app>