Are the html file and servlets as mapped in the same directory? Typically, a servlet which is mapped to the root directory (eg '/servletname') is mapped to the root directory of the war and has a url...