Eclipse (Helios) occasionally marks valid looking JSP content as having errors. It seems like it often breaks when I use the
I had the same problem and eventually got it to work by switching (with Maven) to version 2.3 of the servlet-api:
javax.servlet
servlet-api
2.3
provided
Apparently 2.4 and higher don't have javax.servlet.jsp build in anymore. You might be able to find that library in another package if you still want to use 2.4 or higher.