java - Uploading a file using extjs -


i trying upload file server through extjs. using struts , java. path need upload file constant. there no need file chooser. code have written this

var file="c://folder/file.txt";  ext.ajax.request({     url: fileupload.action,     params:{     filename:file     } }); 

can me figure out wrong this?


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -