First of all my JSTl code works on my server because i have the proper Jar file in the Lib folder in tomcat7. This is just really an IDEA problem. My questions comes down
First add this to the top of your .jsp file:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
It will still give syntax error but you can fix that by adding javax.servlet:jstl:1.2 as a module dependency. To do that, follow these steps:
dependencies tab in the modules section.+ icon → library → From Maven.javax.servlet:jstl:1.2 in the search bar and press OK and it will download and add the above mentioned library as a module.