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:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 2:30 PM
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to