- You can construct a URI that contains the whole path the
user requested with:
public String HttpServletRequest.getRequestURI();
- The scheme part (http, https, ftp) the user used is given by
public String ServletRequest.getScheme();
- The protocol (with version number) being used is given by
public String ServletRequest.getProtocol();