wood burning stoves 2.0
The moose likes Servlets and the fly likes HttpClient Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpClient" Watch "HttpClient" New topic


hanihanan younis
Ranch Hand

Joined: Jul 06, 2005
Posts: 36
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

Joined: Dec 11, 2004
Posts: 13410

Yes, you can use it from a servlet.

What are you trying to do with the timeout feature?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
hanihanan younis
Ranch Hand

Joined: Jul 06, 2005
Posts: 36
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
I agree. Here's the link: http://aspose.com/file-tools
subject: HttpClient
It's not a secret anymore!