Enabling JavaServerPages Standard Tag Library (JSTL) in JSP

后端 未结 2 403
梦毁少年i
梦毁少年i 2020-11-30 13:05

I feel like I am missing something - from what it seems, JSP comes out of the box with support for tags, as this question\'s answer shows (the guy was asking a pure-jsp ques

2条回答
  •  青春惊慌失措
    2020-11-30 13:51

    You need to declare the taglib at the top of the JSP:

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

提交回复
热议问题