hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-httpclient Wiki] Update of "ForAbsoluteBeginners" by RolandWeber
Date Sun, 07 May 2006 07:09:05 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-httpclient Wiki" for change
notification.

The following page has been changed by RolandWeber:
http://wiki.apache.org/jakarta-httpclient/ForAbsoluteBeginners

The comment on the change is:
"simulate clicking on hyperlink" + step 2 not needed at runtime

------------------------------------------------------------------------------
  
  Create and execute a GET request for the login page.
  Just use the link you would type into the browser as the URL.
+ This is what a browser does when you enter a URL in the address bar
+ or when you click on a link that points to another web page.
  
  Inspect the response from the server:
  
@@ -241, +243 @@

  If it is correct, the server may use a browser detection. You will have
  to set the header field User-Agent to a value used by a popular browser
  to pretend that the request is coming from that browser.
+ 
+ If you can't get the login page, get the home page instead now.
+ Get the login page in the next step, when you establish the session.
  
  
  === Establish the Session ===
@@ -252, +257 @@

  you can reach simply by clicking on a link in the browser. Something
  where you can see the URL in the browser status line while the
  mouse pointer is hovering over the link.
+ [[BR]]
+ This step is important when developing the application. Once you know
+ that your application does establish the session correctly, you may
+ be able to remove it. Only if you couldn't get the login page directly
+ and had to get the home page first, you know you have to leave it in.
  
  Inspect the request being sent to the server.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message