Do you have the JSP content type associated with the *.jsp file extension?
You can check this by going to Window > Preferences. In the navigation panel, expand General and select Content Types. In the Content Types panel, there should be a JSP type under the Text type. When you select JSP, do you see *.jsp listed?