On Mon, Jul 06, 2009 at 01:51:07AM -0700, zhang99 wrote:
> 
> 
> 
> pseudo code
> 
> service(..){
> 
> 
> //httpclient get http://www.facebook.com
> 
> 
> }
> 
> the above is pseudo code for java servlet, when user call this servlet
> service(..) from browser repeatly
> 
> for instance
> 1. call http://localhost:8080/callService?url=facebook.com/index.php
> 2. call http://localhost:8080/callService?url=facebook.com/editprofile.php
> 
> can these subsequent request using the same "session" ?
> 
> any example demo on this?


See section on HTTP state management:

http://wiki.apache.org/HttpComponents/HttpClientTutorial

Oleg

> -- 
> View this message in context: 
> http://www.nabble.com/stateful-httpclient-call-in-servlet-tp24351881p24351881.html
> Sent from the HttpClient-User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
> For additional commands, e-mail: httpclient-users-h...@hc.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to