commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sul...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/examples CookieDemoApp.java
Date Sun, 29 Sep 2002 15:23:28 GMT
sullis      2002/09/29 08:23:28

  Modified:    httpclient/src/examples CookieDemoApp.java
  Log:
  updated GetMethod usage
  
  Revision  Changes    Path
  1.4       +4 -4      jakarta-commons/httpclient/src/examples/CookieDemoApp.java
  
  Index: CookieDemoApp.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/examples/CookieDemoApp.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CookieDemoApp.java	8 Sep 2002 05:19:06 -0000	1.3
  +++ CookieDemoApp.java	29 Sep 2002 15:23:28 -0000	1.4
  @@ -121,7 +121,7 @@
   		
   		for (int i = 0; i < 10; i++)
   		{
  -			GetMethod get = new GetMethod();
  +			GetMethod get = new GetMethod("/");
   			int iResultCode = hc.executeMethod(get);
   			HttpState state = hc.getState();
   			Cookie[] cookies = state.getCookies();
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message