[SERVLET_SPEC-18] Clarify behaviour of getRequestURI(), getContextPath(), getServletPath() and getPathInfo() Created: 07/Oct/11  Updated: 06/Dec/16

Status: Open
Project: servlet-spec
Component/s: Misc
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: markt_asf Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


The specification is unclear for some or all of the above methods how the following should be handled.

  • path parameters - should they be included in the returned values or not?
  • normalisation - should the returned values be pre- or -post any normalisation?
  • url decoding - should the returned values be decoded or include the escapes?
  • character encoding - if a value is decoded, what character encoding should be used?
  • welcome files - if a request maps to a welcome file, should it be included in the return values?

Comment by markt_asf [ 11/Oct/11 ]

Add getRequestURL() to the methods to be reviewed

Generated at Wed Jan 18 08:41:45 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.