title: How to render image within an html dynamically?
body: <p>I am having some html content with images(html+images) embedded inside it on my local drive. When i open it by double clicking on browser directly, i am able to see the content with embedded images in it.</p>
  
  <p>Now i have to render this content on web browser using java apis.I am able to render html content without any issue but while rendering , image is not getting rendered , instead alt text is getting rendered on browser.</p>
  
  <p>I got to know that i can not set two mime types in java code to render image as well as text on same page.I want to know how can i render html content with image inside it so that it can be rendered.</p>
  
  <p>Regards.</p>
  
  <hr>
  
  <p>Code added:</p>
  
  <pre><code>public void readFile() throws FileNotFoundException{ 
      String lsFilePath = "D:\\alf3.3\\deployment\\target\\";
      //String lsFilename = "/WEB-INF/message.properties"; 
      String lsFilename = "spcontent2.html"; 
      File loNewFile = new File(lsFilePath + lsFilename); 
      FileInputStream loFileInputStream = new FileInputStream(loNewFile); 
      FileOutputStream loFilOutputStream = new FileOutputStream(loNewFile); 
  }
  </code></pre>
  
  <p>It is fine till now but i need to know how can i render an image that is referred to in file mentioned.</p>