File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpClient" Watch "HttpClient" New topic
Author

HttpClient

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
Sheriff

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