Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpClient

 
hanihanan younis
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all..i want to ask can i use this class from apache to open connection in a url inside the servlet..i want to use the time out property inside it..if not please tell me about any way to use time out feature with any class
thanx all
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can use it from a servlet.

What are you trying to do with the timeout feature?
 
hanihanan younis
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx a lot for answering me..what i try to do is if the url go to it is down or no response the timeout finish the work without make problem to another requests to my servlet
thanx again
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic