hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JYu...@aol.com
Subject Re: How do you simulate clicking on a hyperlink?
Date Sun, 29 Jan 2006 22:22:53 GMT
 
In a message dated 1/29/2006 9:45:34 P.M. Eastern Standard Time,  
alex@cluonflux.com writes:

You  don't have to read anything, you just have to set a header on the 
second  request.  You need getMethod.setHeader("Referer", url1);

You don't  even need to visit url1 first; url2 can't tell the  difference.



Alex,
 
Do you mean, for example:
 
GetMethod getMethod = new GetMethod(url2);
getMethod.setHeader("Referer",url1); ?
 
Jerry 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message