I'm dissecting a JSP application I found here to try to learn more about it.
I come across a lot of <%@...
but I'm not sure what it means and I can't find it explained anywhere.
For example in this context:
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
What does angle bracket percentage sign at symbol mean?
<%@ is the directive attribute. You may include a page or may declare a tag-library using <%@
Basically, a JSP directive affects the overall structure of the servlet class. There are three types of directive tags:
page--Defines page-dependent attributes, such as scripting language, error page, and buffering requirements.
include--Includes a file during the translation phase.
taglib--Declares a tag library, containing custom actions, used in the page.
More on it here