i have a problem with spring url tag in my jsp page. Here is my index.jsp page:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<spring:url var="registrationUrl" value="/register"/>
<!DOCTYPE html>
<html>
<body>
<h2>Index page</h2>
<a href="${registrationUrl}">Register</a>
</body>
</html>
after clicking on "Register" link my URL format looks like this: http://localhost:8080/$%7BregistrationUrl%7D
instead of: http://localhost:8080/register
so the question: what i am missing?