fixed https://github.com/shekhargulati/milestogo/issues/7. This was not fixed earlier as request.getContextPath() returns "" if your servlet is in root context :)