"Vaishnav, Kunal" wrote:
> 
> 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?.
> 

I don't see why you would want to. Presumably the objects that are the
result of some servlet method are available in the testXXX method. Just
test them there rather than in the endXXX.

I am beginning to think that the endXXX method actually confuses the
issue of where to place test code, and that for servlet testing what you
seem to need is begin, setup, test and teardown, and that for JSP you
need setup test,teardown and endXXX.

Jari

> Thanks,
> Kunal.

--
Jari Worsley
Senior Programmer
Hyperlink Interactive Ltd

Reply via email to