how to retrieve address of the page in servlet request code example Example: how to retrieve address of the page in servlet request String url = request.getRequestURL();