Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

file uploading problem ( greater than 2MB)  RSS feed

Sanjib Pal
Posts: 27
  • 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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!