title: Not able to include image in html using relative path
body: <p>i have a porlet running in liferay portal.after successfully entering the details , i want to download the details in an html page , in which i have to include an image. </p>
  
  <p>this is done by giving the absolute path as:</p>
  
  <pre><code>&lt;img src="http://localhost:8080/Demo-portlet/images/logo-1.jpg"
  </code></pre>
  
  <p>and it works fine.</p>
  
  <p>My portlet structure is :</p>
  
  <p>Demo-portlet-->docroot-->images-->logo-1.jpg</p>
  
  <p>Now i want to do this by using relative path. i tried as below but it didnt work out:</p>
  
  <pre><code>  &lt;img src="../Demo-portlet/docroot/images/logo-1.jpg" /&gt;
    &lt;img src="./docroot/images/logo-1.jpg" /&gt;
    &lt;img src="./images/logo-1.jpg" /&gt;
  </code></pre>
  
  <p>None of the above worked. please tell me how this can be done.</p>
  
  <p>Adding the html path:</p>
  
  <p>Demo-portlet-->docroot-->download.html</p>