I've also developed an open source JUnit extension called
JspTest, which lets you unit test JSPs without a container. It currently supports only
JSP 2.0 but George Dinwiddie has started working on JSP 1.2 support, too, for those who are unfortunate enough to work on such an ancient technology stack.