This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi, I am given an assignment on testing servlet.I have gone through the net and after hours of surfing found nothing useful.i am not able to configure the cactus framework in the eclipse .If somebody has code relating this please do forward it to me.please let me know if we can testservlets without using the cactus framework? if yes please send me a sample servlet testcase with explanation. thanks
You don't necessarily need Cactus for testing Servlets. After all, Servlets are just plain old Java classes that happen to extend from HttpServlet. What I usually do for Servlets is good old unit tests that throw mock request and response objects at the Servlet and verify that the Servlet 1) makes the appropriate calls to whatever service layer components you have, and 2) forwards the request to/renders the expected view.