getRequestURI()

getRequestURL() vs getRequestURI()

getRequestURL() vs getRequestURI() methods are used by Servlet Programmer to retrieve the URL particulars of client. getRequestURL() and getRequestURI() methods are defined in HttpServletRequest interface. These two are used by the Servlet to retrieve the URL information (written in ACTION attribute of FORM tag) used by the client to call the servlet. getRequestURL() vs getRequestURI() …

getRequestURL() vs getRequestURI() Read More »