I have jstl code and it builds by maven well... But Eclipse had compilation error \"Unknown tag (c:foreach).\"
code are here:
<%@ page language=\
I was also getting this warning in eclipse. I was also getting other warnings such as:
Unknown tag
(c:if)or Unknown tag(c:set)etc.
To fix these warning in eclipse, all i did was to include the following dependency in my pom file. Please note that I am using the servlet 2.5 api.
javax.servlet
jstl
1.2
You seem to be using for this dependency in your pom file. Maybe that's causing your problem ?