Giter Club home page Giter Club logo

icansee_upload's People

Contributors

strangeen avatar

Stargazers

 avatar

Watchers

 avatar

icansee_upload's Issues

不支持file类型input标签的multiple="multiple"参数

不支持file类型input标签的multiple="multiple"参数

不支持“multiple”方式

<form>
  <input name="file" type="file" multiple="multiple" />
</form>

形式控件上传文件,该方式相当于

<form>
  <input name="file" type="file" />
  <input name="file" type="file" />
</form>

如果按上述设置,文件能全部上传,但是FileUploadRequest的getFile(s)方法只能对相同name值的多个input标签返回一个UploadFile对象,即只能获取到最后的一个文件的信息。

后期可能需要研究其他接收文件的jar包,以及HTTP协议,从而找出是否能解决该问题以及如何解决

文件太大前端不能收到正确信息,报错POST ... net::ERR_CONNECTION_ABORTED

文件太大前端不能收到正确信息,报错POST ... net::ERR_CONNECTION_ABORTED

上传文件太大,后台会报错

IOException:Posted content length of ... exceeds limit of ...

并停止文件接收,response不回应,导致前端报错

POST ... net::ERR_CONNECTION_ABORTED

此时如果使用ajax上传问会执行error函数,Jfinal的做法应该是报错后继续接收文件流直到完成,再回应前端(待验证)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.