File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Commons error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Commons error" Watch "Commons error" New topic

Commons error

Gopi Krrishna

Joined: Feb 15, 2006
Posts: 12
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 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 ]

SCJP 1.4
I agree. Here's the link:
subject: Commons error
It's not a secret anymore!