JSTL c:out not showing the variable's value

后端 未结 2 1354
北恋
北恋 2021-01-22 00:40

I\'m following a tutorial about spring and I\'m supposed to set a variable in a controller in order to be printed within the jsp rendering the request. The code is as follows:

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-22 01:08

    Change this - the pad a library is bad:

    
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    

提交回复
热议问题