hum ... the answer is no and yes ...

What is returned in endXXX() is the servlet output stream ! If your method
is returning a vector and you want to test the value, you have to do this at
the end of your testXXX() method. The endXXX() is for asserting the result
of calling your servlet ...

Thanks
Vincent

----- Original Message -----
From: "Vaishnav, Kunal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 4:51 PM
Subject: Cactus Question


> Hello All,
>   I had a question. Can I return a vector of objects in the response
stream
> to be tested in the endXXX() method?. I think that in SimpleServlet
example,
> it shows how to return
> cookies. But can I return a vector of objects?.
>
> Thanks,
> Kunal.
>

Reply via email to