it appears that jsp files are opened in eclipse using their own 'editor' distinct from the java editor. its settings are located under window -> preferences -> web -> jsp files -> editor, but unfortunately it appears to lack the 'mark occurrences' feature found in the editors for java and some other languages.

there's an answer to another question on here with information on how to implement 'mark occurrences' in an editor (pointing to source viewers and annotations in the eclipse developers guide), but i couldn't even find a bug in the eclipse jsp 'product' requesting the feature. it's open-source, though, so of course anyone is welcome to contribute that functionality!

it doesn't accomplish quite the same thing (lacking the intelligence to restrict scope), but you can get a rough approximation of this functionality by selecting your variable/method/text and using the generic source -> occurrences in file feature.

Related Query

More Query from same tag