創建文件並將其加載到 iframe (creating file and load it in iframe)


問題描述

創建文件並將其加載到 iframe (creating file and load it in iframe)

Depending on the i/p of 2 textboxes, I want to extract a CLOB column from ORACLE  to a temporary text file & load the same text file to iframe. Once it got loaded completely, I'll delete the temp. text file. I'm extracting CLOB through java pgm & then putting the temp file path as src attribute to iframe. But the issue is that before completing the file creation, iframe loading is getting completed and showing file does not exist error. Any suggestions for this problem? I want to use single submit button for this entire procedure.


參考解法

方法 1:

your scenario shows that page is getting loaded before file is read/write.

you can add wait() or any Listener which can notify that file read write operation is done. then you redirect to that page.

please share the code snippet. then we can help you better.   

(by user2350266minion)

參考文件

  1. creating file and load it in iframe (CC BY‑SA 3.0/4.0)

#iframe #java #clob






相關問題

IE6 iframe 渲染問題 (IE6 iframe rendering issue)

Cross Domain JavaScript parent location setting firefox error (Cross Domain JavaScript parent location setting firefox error)

Перанакіраванне ад даччынага акна да бацькоўскага ў iframe з дапамогай javascript (OAuth) (Redirecting from child window to parent to a iframe using javascript (OAuth))

Tương tác với trình phát youtube được nhúng của học viện Khan (Interacting with Khan academy's embedded youtube player)

創建文件並將其加載到 iframe (creating file and load it in iframe)

Firefox 無法訪問同一域上的 iframe 打印 (Firefox can't access iframe print on the same domain)

如何在特定情況下處理 iframe。如何處理 iframe 內容? (How to handle iframe in particular situation. How to handle iframe contents?)

使用 jQuery 按鈕單擊更改 iFrame 的 URL? (Change URL of iFrame with jQuery button click?)

如何使網頁只允許 iframe 訪問 (How to make web page only allowed accessed by iframe)

為什麼 Internet URL 在 iframe 標記中不起作用? (Why is an Internet URL not working in an iframe tag?)

Word 2007 文件啟動新窗口而不是顯示內聯 (Word 2007 files launching new window instead of displaying inline)

有沒有辦法在 <IFrame> 中嵌入網站,如果它拒絕嵌入? (Is there any way to embed a website in <IFrame>, If it is denying to be embedded?)







留言討論