What's your response supposed to contain? I ran into a something like this once, and discovered that if I didn't cross a few t's and dot a few i's, tomcat would not print anything to the response. So without knowing your problem, this is hard to debug.
Cheers, Nick -----Original Message----- From: Alan Halley [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 8:38 AM To: [EMAIL PROTECTED] Subject: WebResponse problems 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 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
