I want to make my jsp
page more dynamic,so I need used taglib
.
The questions I want to ask is that
1) Where I can download taglib jars?
2) How can I configure it in my project?
I want to make my jsp
page more dynamic,so I need used taglib
.
The questions I want to ask is that
1) Where I can download taglib jars?
2) How can I configure it in my project?
To Download the taglibs:
Use Maven central repo:
http://repo2.maven.org/maven2/javax/servlet/jstl/
http://repo2.maven.org/maven2/taglibs/standard/
how to package and use custom taglib (maven jar project)
How to use taglibs JSTL/core with JAR in WEB-INF folder
use google....
Most probably already late.
I have configured taglibs via pom file using: https://search.maven.org/artifact/org.springframework.security/spring-security-taglibs/6.0.2/jar
and then on the jsp page at the very top before html tags: <%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
later you can use <security:... />
for instance <security:authentication property="principal.username" />