I am using maven2, how do I add a dependency to JSTL (The JSP Standard Tag Library) ?
The dependencies mentioned above is not enough for me(using Tomcat 5.x as servlet container, which doesn't provide JSTL implementation itself). It just imports the according JSTL interface package into project, and will cause a runtime error in Tomcat.
Here is the dependency part used in my project, hopefully can help others out. The hardest part is the naming of the Apache's JSTL implementation in repository.
javax.servlet
jstl
1.1.1
runtime
taglibs
standard
runtime
1.1.1
taglibs
c
1.1.1
runtime
tld
taglibs
fmt
1.1.1
runtime
tld