日期:2014-05-16  浏览次数:20303 次

Extjs fileuploadfield获取全路径问题
我使用fileuploadfield,想要获取选择文件的完全路径
取值方法是Ext.getCmp("fileupload").getValue()

定义是:
 xtype: 'fileuploadfield',
 id:'fileupload',
 fieldLabel:'Upload File',
 buttonText: 'Browse',
 width:"97%"

但是我选择了一个D盘下的一个文件的时候,显示的路径是
C:\fakepath\文件名

------解决方案--------------------

   可以修改IE的安全问题 能获取路径
struts2 可以获取到