首先代码给上:
--------------------------------------------------------------------------
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jst1/core" %>
<html>
<head>
<title>标签使用</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
</head>
<body>
<c:set var="number" value="${1+1}" scope="page"></c:set>
</body>
</html>
--------------------------------------------------------------------------
我已经在web-inf的lib下放了jstl.jar和standard.jar包了。但是在代码第二行uri处
还是会出现:
Can not find the tag library descriptor for "http://java.sun.com/jsp/jst1/core"
然后在调用自定义标签<c:set>的时候会显示:Unknown tag (c:set)的警告。
--------------------------------------------------------------------------
求问,我到底在哪个细节地方没做对?崩溃了。
JSTL taglib
/jsp/jst1[/size]/core 我怎么看jst1 数字1
是字母l吧