fix request.getServletPath is empty error