File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes Jakarta Commons Httpclient recycle & persistant connections Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Jakarta Commons Httpclient recycle & persistant connections" Watch "Jakarta Commons Httpclient recycle & persistant connections" New topic
Author

Jakarta Commons Httpclient recycle & persistant connections

William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 984

I am using the Jakarta Commons Httpclient to do a POST. I need to place this within a loop. I appears that I need to call the "recycle" method for each iteration of the loop. Am I keeping the same connection when this happens? Do I have a persistent connection? Thanks.


Please ignore post, I have no idea what I am talking about.
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8764
    
    5
William -
Congrats on your 800th post!
Now really, I gotta ask you, does this seem like a beginner question?


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 984

Sorry about that. I knew that someone would find the correct forum, as I couldn't.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Other Open Source Projects forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jakarta Commons Httpclient recycle & persistant connections
 
Similar Threads
Calling a JSP from a Java class on the client
Sockets vs URL Based classes
Timeout for HttpURLConnection
Jakarta Commons Httpclient multi-threading problem
java.net.URL binding to JNDI in weblogic & use in EJB