jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Halley <alan_halley2...@yahoo.com>
Subject WebResponse problems
Date Tue, 19 Feb 2002 15:38:11 GMT
Hi,

I am having problems with com.meterware.httpunit.WebResponse. The 
getTitle,getText methods all return an empty string.

The response object is valid as can be seen by the output below.

     [java] 2002-02-19 13:52:23,489 DEBUG (BaseLog.java:199)- <doPost
    [junit] Title is
    [junit] [Lcom.meterware.httpunit.WebLink;@fb1f7
    [junit]
    [junit] Response Object is [headers={CONTENT-TYPE=text/html, 
SET-COOKIE2=JSESSIONID=vojozv4l72;V
ersion=1;Discard;Path="/test", SERVLET-ENGINE=Tomcat Web Server/3.2.3 
(JSP 1.1; Servlet 2.2; Java 1.
3.1_01; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.), 
SET-COOKIE=JSESSIONID=vojozv4l72;P
ath=/test}]
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 42.682 
sec

I am using cactus 2.2 with Tomcat 3.2.3. I believe this is probably a 
configuration issue but can't track it down.

Any help would be greatly appreciated.

Regards,

Alan Halley




---------------------------------
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message