Return-Path: Delivered-To: apmail-jakarta-cactus-user-archive@apache.org Received: (qmail 99698 invoked from network); 19 Feb 2002 16:15:03 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Feb 2002 16:15:03 -0000 Received: (qmail 10144 invoked by uid 97); 19 Feb 2002 16:15:03 -0000 Delivered-To: qmlist-jakarta-archive-cactus-user@jakarta.apache.org Received: (qmail 10128 invoked by uid 97); 19 Feb 2002 16:15:02 -0000 Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Cactus Users List" Reply-To: "Cactus Users List" Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 10117 invoked from network); 19 Feb 2002 16:15:02 -0000 Message-ID: <20020219161459.96224.qmail@web20906.mail.yahoo.com> Date: Tue, 19 Feb 2002 08:14:59 -0800 (PST) From: Alan Halley Subject: RE: WebResponse problems To: Cactus Users List In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-283633398-1014135299=:96174" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --0-283633398-1014135299=:96174 Content-Type: text/plain; charset=us-ascii Hi Nick, Thanks for responding so quickly. If I access the Struts action with the browser then the page is correctly displayed. Alan Nicholas Lesiecki wrote: 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:alan_halley2001@yahoo.com] Sent: Tuesday, February 19, 2002 8:38 AM To: cactus-user@jakarta.apache.org 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)- [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: For additional commands, e-mail: --------------------------------- Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games --0-283633398-1014135299=:96174--