In some
maven web projects, I see different jstl related jars. In one pj, I see
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
But in another project, I see
<groupId>org.glassfish.web</groupId>
<artifactId>javax.servlet.jsp.jstl</artifactId>
<groupId>javax.servlet.jsp.jstl</groupId>
<artifactId>javax.servlet.jsp.jstl-api</artifactId>
I omitted the version part for simplicity.
What confuse me is
1) what is jstl-api.jar for ?
2) why in the first project, it works fine without jstl-api.jar, but in the second project it uses a combination of them ?
3) For jstl.jar, the second one is clear it is from "javax.servlet.jsp", but the first one is just "jstl", sounds strange.