如何使用Dojo设置<s:file />
值以形成内容?
<s:file id="fileUpload" name="upload"/>
<script>
var fileUpload = dojo.byId("fileUpload");
content[fileUpload.name] = fileUpload.value;
dojo.xhrPost({
form : form,
content : content,
load : function(data) {
processingDialog.setContent(data); },
error : function(error) {
processingDialog.setContent(error); }
});
</script>
提交表单上传值时传递为&#34; c:/ fake path / 01.csv&#34;并没有接受行动