Weird problem.
Change Window –> Preferences –> General –> Editors –> Text Editors –> check Insert spaces for tabs
Now whenever you are in a scriptlet between the <% and %> the tab key does not work if there is not at least one character in front of it. You can’t press return and start tabbing — the cursor does not move.
Turning on visible spaces shows that even w/o the tab setting the JSP editor appears to put spaces in for the leading indent. Then if tabs are on, when you press tab the cursor moves and a tab char is inserted. If tabs are off, when you press tab nothing happens.
But only inside of a scriptlet tag. Outside the scriptlet tag it behaves normally.
Seems to happen on vista and 2000. ME v6GA. Also happens in base Eclipse WTP 3.0m2