joken - 2007-07-18

I use wc.getResponse

With this html code :
<frameset rows="*,80" frameborder="NO" border="0" framespacing="0">
<frame name="test" src="http://www.google.cn">
<frame name="nenew" scrolling="NO" noresize src=*>
</frameset>

returns

Received from http://192.168.168.151:8080/captureweb/test/\*
Header:: HTTP/1.1 404 /captureweb/test/*
Header:: Server: Apache-Coyote/1.1
Header:: Content-Type: text/html;charset=utf-8
Header:: Content-Length: 1006
Header:: Date: Wed, 18 Jul 2007 03:04:43 GMT
Exception in thread "main" com.meterware.httpunit.HttpNotFoundException:
Error on HTTP request: 404 /captureweb/test/*
[http://192.168.168.151:8080/captureweb/test/*]
at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:575)
at com.meterware.httpunit.WebClient.updateClient(WebClient.java:464)
at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:139)
at
com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130)
at com.meterware.httpunit.FrameHolder.updateFrames(FrameHolder.java:185)
at
com.meterware.httpunit.WebWindow.updateFrameContents(WebWindow.java:252)
at
com.meterware.httpunit.WebClient.updateFrameContents(WebClient.java:485)
at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:146)
at
com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130)
at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121)
at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:102)
at com.meterware.httpunit.WebClient.getResponse(WebClient.java:87)
at com.test.s1122.Testappname.main(Testappname.java:41)