Topic: 怎么提取浏览器端的文件

  Print this page

1.怎么提取浏览器端的文件 Copy to clipboard
Posted by: cxh_nuaa_2001
Posted on: 2005-03-04 10:41

<INPUT TYPE=file NAME=upload class=inpStyle size=55>
假如浏览器端传了个文件过来,在servlet/jsp中怎么得到这个文件并且得到其大小?谢谢指教!

2.Re:怎么提取浏览器端的文件 [Re: cxh_nuaa_2001] Copy to clipboard
Posted by: cxh_nuaa_2001
Posted on: 2005-03-04 10:54

它是不是和表单的其他部分一起传过来的?还是后来在建立一次连接,在传过来?

3.Re:怎么提取浏览器端的文件 [Re: cxh_nuaa_2001] Copy to clipboard
Posted by: 三角杀手王
Posted on: 2005-03-04 17:14

普通的request得不到了


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923