0

On the HttpServletRequest object, assuming that the calling URL is not encoded, can assume that:

getContextPath()+getServletPath()+getPathInfo()==getRequestURI() is always true?

I'm pretty sure the answer is yes but the getRequestURI is somehow obscure in describing what it exactly is.

jesantana
  • 1,241
  • 2
  • 14
  • 27
  • Possible duplicate of [HttpServletRequest to complete URL](http://stackoverflow.com/questions/2222238/httpservletrequest-to-complete-url) – worpet Sep 07 '16 at 16:35
  • Is a different question because I am trying to figure out what the exact parts of the getRequestUri. I know that getRequestUri doesn't include the parameters and start after the protocol, but is it exactly comprised of the other three function calls? – jesantana Sep 07 '16 at 20:32

0 Answers0