Give this a go:
find . -not -iwholename '*.svn*' | egrep -i "(java|jsp)" | xargs grep -i "find-something" | more

Technical notes, and other ideas.
Give this a go:
find . -not -iwholename '*.svn*' | egrep -i "(java|jsp)" | xargs grep -i "find-something" | more
Example:
bash prep.sh | egrep -i "(success|failure)"