This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?