• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Commons error

 
Gopi Krrishna
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried uploading file using apache commons HttpClient-based file upload using the code given below.
But it works perfectly in my system and when i try the same in my friend's system i get the output as
exception in sendfile..org.apache.commons.httpclient.ConnectTimeoutException: The host did not accept the connection within timeout of 8000 ms

this is the code for Sender.jsp


this is the code for Receiver.jsp


i tried changing the connection timeout to big values.. still the problem exists but only in my friends pc..
please help..
I dont know the exact category of this question. if it belongs to different section pardon me

[ March 28, 2007: Message edited by: Gopi Krrishna ]
[ March 28, 2007: Message edited by: Gopi Krrishna ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic