Introduction to TagUnit article published on java.net
The first of two articles about TagUnit has been published over at java.net. If you've not come across TagUnit before, it's a framework for testing JSP tags from within JSP pages and was something that I started because I wanted a way to test custom tags as components rather than standalone classes. Here's the abstract.
JSP custom tags allow developers to abstract complex code out of a JSP page and into reusable components. JSP custom tags are not, however, standalone classes, and therefore cannot be fully tested with tools like JUnit. Once you think of custom tags as components in their own right, you see that they should be tested -- and tested as components. This pair of articles will introduce TagUnit -- an easy-to-use, open source testing tool that makes it possible to comprehensively test JSP tags."You can read the full article here.
Simon is a hands-on software architect and a senior consultant at 

