title: velocity macro .vm how to get URL/URI of current web page
body: <p>Is there a simple way to get url/uri of the current page (page where values from the velocity macro will be displayed)?</p>
  
  <p>for example 
  I have got page <a href="http://abc.com/bb/cc.html" rel="nofollow">http://abc.com/bb/cc.html</a></p>
  
  <p>on this page there is a section (meta tags) which is constructed by bb.vm
  I would like to add variable (tag) to bb.vm that will discover location of the page (http://abc.com/bb/cc.html) and then execute some logic using this variable.</p>