如题  
  通过ajax 提交的  如何把图片上传到服务器 ?  是不是把图片的路径通过post的方法传过去?
  <input type='file'>  我用的这个上传的 

解决方案 »

  1.   

    jquery上传文件:
    http://www.cnblogs.com/chenping-987123/archive/2010/09/25/1834372.html
      

  2.   

    post路径不可以
    http://download.csdn.net/source/2600607
      

  3.   

       get可以吗?  应该怎么做呢  不过这样做? 
      

  4.   

    http://topic.csdn.net/u/20080927/01/2537a8b4-11b6-43ae-94e4-694f637f9757.html
      

  5.   


    这个不是简单的get postgoogle下 挺多资源的
      

  6.   

      string dstfilename = this.Server.MapPath(this.Request.ApplicationPath + "\\" + "Upload" + "\\Attach\\" + filename);
                ViewState["filename"] = dstfilename.ToString();
                this.upload_file.PostedFile.SaveAs(dstfilename);