title: Issue in getting context path inside jsp?
body: <p>My jsp lies at below location</p>
  
  <pre><code>http://myApp.com/myWebApp/customer/images/customer.jsp
  </code></pre>
  
  <p>My image(accessed thru customer.jsp) lies at </p>
  
  <p><a href="http://myApp.com/myWebApp/images/customer.gif" rel="noreferrer">http://myApp.com/myWebApp/images/customer.gif</a></p>
  
  <p>In image tag  i am making the absoulte path as below</p>
  
  <pre><code>src="${param.contextPath}images/customer.gif"
  </code></pre>
  
  <p>just for info i am using param here becoz this is how we access request params in EL.</p>
  
  <p>I was expecting that ${param.contextPath} will return /myWebApp/ but it is returning /myWebApp/customer/. <strong>Is there a way i can get
  just context path(not with customer namespace) i.e /myWebApp/ from request?</strong></p>