I have a foo.ear web application within a /foo context. How can I default the root context ('/') to this application as well? My customer wants to access the application with 'http://host:port/foo' and with 'http://host:port'.
I know I can define a simple web app in the root context and redirect the request to foo, but is there an easier way? Some JBoss/Tomcat configuration?