title: how to open pdf in iframe when click on a tag
body: <p>I am trying to load pdf in iframe when clicked on Open PDF on this same page below the table.
  This pdf is opening on the new tab when I use target=blank but is not opening in iframe. </p>
  
  <pre><code>&lt;c:forEach items="${files}" var="file"&gt;
  &lt;tr&gt;
  &lt;td&gt;${file.name}&lt;/td&gt;
  &lt;td&gt;${file.createdOn}&lt;/td&gt;
  &lt;td&gt;&lt;a href="http://localhost:8080/dms/getFile?filePath=${file.realPath}" target="search_iframe"&gt;Open PDF&lt;/a&gt;&lt;/td&gt;
  &lt;/tr&gt;
  
  &lt;/c:forEach&gt;
  &lt;/table&gt;
  &lt;iframe src="" width="100%" height="100%" name="search_iframe"&gt;&lt;/iframe&gt;
  &lt;/body&gt;
  </code></pre>