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 RE: WebResponse problems
Date Tue, 19 Feb 2002 16:14:59 GMT

 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 <nick@eblox.com> 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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message