hello all,

I want to place an iframe in my webpage code is here...

<script> function Change_Image()

{ var path_file=document.getElementById("file").value;





<input type="file" name="file" id="file" value="browse" onChange="Change_Image();" />

<iframe src ="" width="100%" height="300" name="frame" id="frame" >

It works fine if i run the page from browsing the page on internet explorer or Mozilla firefox ... but if i place this page in my JSP project and run this from netBean ID so it doesnt show the selected image on the IFrame .... so the actual problem is that what is the difference b/w using Iframe on localhost and from local machine ....