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 Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Similar Threads
selecting frrom database in multithreaded environment
variable declaration and object creation in side loop
Changing property value of an object in session with Struts2 tags
Reuse database connection class
Method to return next object from a List