jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Lesiecki" <n...@eblox.com>
Subject RE: testing JSP's
Date Wed, 31 Jul 2002 23:27:08 GMT
You can get a RequestDispatcher directly in your Cactus test and use that to
route the request.

Does that answer your question?

nick

-----Original Message-----
From: Christian Wenger [mailto:christianwenger@earthlink.net]
Sent: Tuesday, July 16, 2002 2:30 PM
To: cactus-user@jakarta.apache.org
Subject: testing JSP's


Hello,
Does anyone have some advice on how to test the results of an HTTP request
to a JSP?  I think I can
do it by invoking a servlet that simply routes a request to a JSP.  Then in
my endXXX() method in my
test case I should be able to use the HttpUnit WebResponse to examine the
structure of the returned
HTML.  Correct?  Is there anyway I can get that same HttpUnit WebResponse
without first having to
route the request through a servlet?

Thanks for the help,
Christian


--
To unsubscribe, e-mail:
<mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:cactus-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message