I've seen this done before and I've heard of other people talking about it, but I can't see which settings I need to alter to achieve it.
The reason I'm asking is that until yesterday all my applications were working fine by just browsing to http://localhost, but suddenly something has changed and the address no longer works. I know the server is running fine because I can go to http://localhost:8080/myapp/index.jsp and my page is still there - but as the 'redirect' isn't working and all my urls are relative, none of my includes or CSS are picking up any more. :-/
I've looked in the usual places such as web.xml and httpd.conf, but cannot think of anything I've changed in those files at all.
subject: Configuring http://localhost in Tomcat/Eclipse