[Httpunit-commit] CVS: httpunit/sitedocs/doc cookbook.html,1.1,1.2
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2004-06-23 09:53:56
|
Update of /cvsroot/httpunit/httpunit/sitedocs/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22715/sitedocs/doc Modified Files: cookbook.html Log Message: update site info Index: cookbook.html =================================================================== RCS file: /cvsroot/httpunit/httpunit/sitedocs/doc/cookbook.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- cookbook.html 18 May 2003 13:01:06 -0000 1.1 +++ cookbook.html 23 Jun 2004 09:53:45 -0000 1.2 @@ -28,7 +28,7 @@ for the <CODE>WebResponse</CODE> class, above. That page could therefore be obtained as follows: <PRE> WebConversation wc = <b>new</b> WebConversation(); - WebResponse resp = wc.getResponse( "http://www.httpunit.org/doc/Cookbook.html" ); // read this page + WebResponse resp = wc.getResponse( "http://www.httpunit.org/doc/cookbook.html" ); // read this page WebLink link = resp.getLinkWith( "response" ); // find the link link.click(); // follow it WebResponse jdoc = wc.getCurrentPage(); // retrieve the referenced page |