简体   繁体   English

Taglib导入到JSP中,怎么办?

[英]Taglib import in a JSP, how?

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

this doesn't work. 这行不通。

What is the new taglib import statement, and how can I find a reference of others to use, and what tags there are to use. 新的taglib import语句是什么,如何找到其他人的引用以及要使用的标签。

Thanks! 谢谢!

here's a good one to start, just put it at top of jsp : 这是一个很好的起点,只需将其放在jsp的顶部即可:

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

Allows you to use these tags . 允许您使用这些标签

What doesn't work? 什么不起作用? In jsp/servlet container, there are four built-in standard tag libraries: http://docs.oracle.com/javaee/1.4/tutorial/doc/JSTL3.html 在jsp / servlet容器中,有四个内置的标准标记库: http : //docs.oracle.com/javaee/1.4/tutorial/doc/JSTL3.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM