• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet as an endpoint ( Hangs when given an Input file )  RSS feed

 
Steven Rodeo
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have the following code snippet, that tries to read an inputStream and writes it to a file.





The above code takes extremely long for files greater than 5 mb. Honestly, is there a better way to read ?

Any help Greatly appreciated.

_SM
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe the upload connection to the servlet is slow?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!