By pressing Ctrl + Space , the usual way to get autocomplete with import always worked for me in all versions of Eclipse, as far as I remember.

Indeed, most other useful tools, such as Ctrl + Shift + O (automatic import organization), Ctrl + 1 (quick fix), etc., do not work in JSP. But in the end, Java code should not be written at all in JSP files. This is not only an evolving nightmare (because you are faced with yourself due to the lack of proper tool support in Eclipse), but it is also bad in all other colors. Just write Java code in regular Java classes.
Balusc
source share