title: getRealPath() in jsp custom tag file using EL or scriptlet code
body: <p>I'm trying to access the servlet path from a tag file like so;</p>
  
  <pre><code>&lt;%@tag description="put the tag description here" pageEncoding="UTF-8"%&gt;
  &lt;%=pageContext.getServletContext().getRealPath("/")%&gt;
  </code></pre>
  
  <p>However it complains it cannot find the symbol;
  string:///xxxxx:89: cannot find symbol
  symbol  : variable pageContext
  location: class org.apache.jsp.tag.web.xxxx</p>
  
  <p>any suggestions on how to access that value in the tag file?</p>