title: How to pass Java variable value in td tag of html
body: <p>String TC_Status="PASS";</p>
  
  <p>How to pass TC_Status value "PASS" in td tag of html</p>
  
  <pre><code>  File f = new File("source.htm");
          BufferedWriter bw = new BufferedWriter(new FileWriter(f));
          bw.write("&lt;html&gt;");
          bw.write("&lt;body&gt;");
          bw.write("&lt;table cellspacing="+50+"&gt;");
          bw.write("&lt;tr&gt;");
          bw.write("&lt;td&gt;S.No&lt;/td&gt;");
          bw.write("&lt;td&gt;TestCaseDescription&lt;/td&gt;");
          bw.write("&lt;td&gt;Status&lt;/td&gt;");
          bw.write("&lt;td&gt;Screenshot&lt;/td&gt;");
          bw.write("&lt;/tr&gt;");
  
          bw.write("&lt;tr&gt;");
          bw.write("&lt;td&gt;1&lt;/td&gt;");
          bw.write("&lt;td&gt;Login&lt;/td&gt;");
          bw.write("&lt;td&gt;&lt;/td&gt;");     ---------------------------------- HERE PASS is to be displayed
  
          bw.write("&lt;td&gt;&lt;/td&gt;");      
          bw.write("&lt;/tr&gt;");
  
          bw.write("&lt;/table&gt;");
          bw.write("&lt;/body&gt;");
          bw.write("&lt;/html&gt;");
          bw.close();
  </code></pre>
  
  <p>please help in getting this done</p>