Java Mailing List Archive

http://www.gg3721.com/

Home » user.jmock »

[jmock-user] writing test case for struts action?

Sushil Dodake

2008-09-16

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi All,
i am trying to write a test case for a struts action call.
in the action call i am trying to send a file on the response output stream.
when i get the output stream using response.getOutputstream i get a object of ServletOurtputStream.
which is a abstract class..
 i then write a byte stream on the output stream and fluch it to close
i am confused as to how to write a test case.
can sombody help me here?
any example?
 
regards,
 
Sush
©2008 gg3721.com - Jax Systems, LLC, U.S.A.