文件上传方案

http://stackoverflow.com/questions/9824808/disable-form-auto-submit-on-button-click

 

Buttons like <button>Click to do something</button> are submit buttons. Set type="button" to change that. type="submit" is the default (as specified by the HTML recommendation).

 

 

文件上传路径

http://www.mkyong.com/javaee/the-method-getrealpathstring-from-the-type-servletrequest-is-deprecated/

 

Instead, you should use servletRequest.getSession().getServletContext().getRealPath("/") (refer to the end of the reference site for detail). See updated example again.

 

 

Java创建文件夹及文件

http://stackoverflow.com/questions/6666303/javas-createnewfile-will-it-also-create-directories

http://stackoverflow.com/questions/1525060/file-createnewfile-thowing-ioexception-no-such-file-or-directory

 

 

读取iframe中的数据并用jQuery对其进行处理

 

http://stackoverflow.com/questions/4429576/how-to-listen-for-returned-json-object-with-jquery

 

$("#upload_target").load(function (){
        var retval = $(frames['upload_target'].document).text();
        if (retval != null)
        {
            try{
                var obj = jQuery.parseJSON(retval);
                //...work with obj here.
            }catch(err){}
        }
});

  

http://stackoverflow.com/questions/16103407/get-html-inside-iframe-using-jquery

 

 

其他链接

 

http://www.cnblogs.com/fish-li/archive/2011/07/17/2108884.html

http://www.worldhello.net/doc/agile_python/psm.pylons.ajax.html

http://segmentfault.com/blog/fengxiuping/1190000000461339

http://stackoverflow.com/questions/166221/how-can-i-upload-files-asynchronously

 

 

 

关于commons库

commons库中提供了很多操作,比如io,httpclient,这些与java官方库的关系是什么

posted on 2015-03-25 16:57  majia1949  阅读(183)  评论(0编辑  收藏  举报

导航