From: Mike B. <mb...@Ga...> - 2003-03-14 18:40:19
|
> 192.168.1.15 - value1 [14/Mar/2003:16:16:50 +0000] "POST > /order/j_security_check HTTP/1.1" 302 0 > "http://john.candata.com/order/Login.jsp;jsessionid=5ifh899gfnnb0" > "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826" Is that really a semi-colon after Login.jsp and not a question mark? If the browser is accepting a semi-colon and treating it like a question mark then this would be the reason HtmlUnit is showing different behaviour. Is there any way that you can get a tcp dump of the initial response? I'd like to know what the value of the "Location" header is when HtmlUnit recieves the 302 redirect code. If you're up to putting some printlns in the HtmlUnit code, the redirection logic is in WebClient.java starting on line 930. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |