Re: Testing Servlet Useing Junit
Sunday, January 7, 2007 12:43 PM
I think you need more setup to test a servlet, beyond just junit itself. You need something like "cactus", "httpunit", etc. that are built on top of junit but provide mock objects or stubs for the HttpServletRequest, Response, etc.