• Post Reply Bookmark Topic Watch Topic
  • New Topic

Differences in code? plz help

 
Lex Wouda
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a servlet which uses an UrlConnection object to retrieve some page.
It used to work, now it suddenly doesn�t anymore, I didn�t change te code in this particular extract.
:


however, almost identical (test)code, called from a �main� does work:


I can�t figure it out why the second piece of code does work.
all help is welcome,
TIA
Lex
 
Lex Wouda
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forgot to mention I get an
"java.io.InterruptedIOException: Operation timed out: no further information" error message when debuging,
furthermore this exception occurs at


it used to work
 
ubutuakuzed
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lex,
I am having the SAME EXACT problem as you are... I was curious if you had solved it? I just started searching for a solution to this problem and your post is the first thing i found! Too bad nobody has responded
Thanks for any reply.
- Tom
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!