Results 1 to 1 of 1
Thread: IFRAME in jsp
- 08-07-2009, 11:48 AM #1
Member
- Join Date
- Jan 2009
- Posts
- 10
- Rep Power
- 0
IFRAME in jsp
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;
alert(path_file);
document.getElementById("frame").src=path_file;
}
</script>
</head><body>
<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 ....
Regards
Similar Threads
-
Send keystrokes to iframe
By nloding in forum New To JavaReplies: 3Last Post: 08-29-2008, 05:06 PM -
Saving word document from iframe
By anil@netedgecomputing.com in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 05-15-2008, 11:49 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks