File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

file uploading problem ( greater than 2MB)

Sanjib Pal
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a big problem when uploading a file greater than 2mb.
When I tried to upload a file greater than 2mb, the browser connection resets instantly, giving an error
Error: 101 ( net::ERROR_CONNECTION_RESET): The connection was reset

In my tomcat's server.xml I have configured the Connector as

the memory of jvm is as

I am using spring framework.

the bean configuration is as

and my java code is as

Please give me a suggestion to solve this problem.

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic