Attachment assignment block里选择的文件是如何传到application server
生活随笔
收集整理的這篇文章主要介紹了
Attachment assignment block里选择的文件是如何传到application server
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
Created by Jerry Wang, last modified on Dec 12, 2014
使用Chrome debug attachment upload page:從local laptop上選擇一個(gè)file之后,斷點(diǎn)觸發(fā):
前端取得user選中的file name:
點(diǎn)Attach button后,觸發(fā)Application server 的event handler:
從Chrome network tab能觀察到,UI向Application server發(fā)送了一個(gè)http post:
LOOP所有form parts:
從對(duì)應(yīng)的form part里取出file name, file type:
以及實(shí)際的文件內(nèi)容(由于security原因,該form part的內(nèi)容無(wú)法在Chrome的network里觀察到)
總結(jié)
以上是生活随笔為你收集整理的Attachment assignment block里选择的文件是如何传到application server的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 雷军送了徕卡CEO一部小米13 Ultr
- 下一篇: SAP CM: cl_crm_oi_do