Capturing OutputStream from a StrutsAction

Marty La Jeunesse <[email protected]>
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
In my StrutsAction classes I write a JSON string to the Response 
outputStream:
                 OutputStream os = response.getOutputStream();
                 os.write(result.getBytes());
                 os.flush();
                 os.close();
                 return null;
I'm trying to capture the response in my StrutsTest class, but I can't 
find it. I mean I can find the Response object, but I don't know where 
to look for the bytes that I wrote to the Response outputStream.

thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.