zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Attachment assignment block里选择的文件是如何传到Netweaver服务器的

文件服务器 如何 选择 Block 传到 Netweaver assignment
2023-09-14 09:02:52 时间

使用Chrome debug attachment upload page:从local laptop上选择一个file之后,断点触发:

前端取得user选中的file name:

点Attach button后,触发Application server 的event handler:

从Chrome network tab能观察到,UI向Application server发送了一个http post:

LOOP所有form parts:

从对应的form part里取出file name, file type:

以及实际的文件内容(由于security原因,该form part的内容无法在Chrome的network里观察到)

要获取更多Jerry的原创文章,请关注公众号"汪子熙":