I am in process of building up a small framework that does unit testing for JSPs. These JSPs have some custom tags, otherwise they are not any special.
Although ther
Take a look at HttpUnit - http://httpunit.sourceforge.net/. It comes bundled with ServletUnit which is an in memory servlet engine that will handle JSPs. This should usually only be used to test the View portion of a properly factored MVC application or to do some Integration/Acceptance tests.
Business logic should be tested directly from the POJOs.
Here is a example project that run Jettys ServletTester with jsps.
https://github.com/genthaler/jetty-jsp-unit-test-simple/