Java 文件上传组件 Apache Commons FileUpload 应用指南

String getName()方法 

 

注意:上面的数据包是通过IE提交,所以是完整的路径和名称。如 
C:\Documents and Settings\All Users\Documents\My Pictures\示例图片\
Sunset.jpg。如果是其它浏览
器,如火狐和Chromium,则仅仅是名字,没有路径,如
Sunset.jpg

 

http://www.blogjava.net/whistler/articles/330976.html

你可能感兴趣的:(java,apache,.net,浏览器,IE)