Search directory structure and count lines of code:
find . -name '*.jsp' | xargs wc -l > ~/lines-per-jsp.txt

Technical notes, and other ideas.
Search directory structure and count lines of code:
find . -name '*.jsp' | xargs wc -l > ~/lines-per-jsp.txt