I've setup a web-module and I have servlet-api and jsp-api as global libraries. I've even tried having the j2ee as a global library. The problem consists in the following thing: all the jsp tags and java code in a JSP page get marked in red as errors. I can't seem to figure out why. I've tried it a million ways. My code works fine - I've tested things on orion and orion doesn't complain - the code gets compiled down to servlets and everything is okay. Idea can't parse the jsp-s correctly or I'm doing something awfully wrong.