<%@page contentType="text/html;charset=GB2312"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%><html>
<head><title>CH6 Param.jsp</title></head>
<body>
<h2 >隐含对象param,paramValues</h2>
<fmt:requestEncoding value="GB2312"/> 姓名: ${param.username}<br>
密码: ${param.password}<br>
性别: ${param.sex}<br>
年龄: ${param.old}<br>
兴趣: ${paramValues.bahit[0]}
${paramvalues.habit[1]}
</body>
</html>
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
这个错误什么意思?无法连接这个网址上的资源吗?
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%><html>
<head><title>CH6 Param.jsp</title></head>
<body>
<h2 >隐含对象param,paramValues</h2>
<fmt:requestEncoding value="GB2312"/> 姓名: ${param.username}<br>
密码: ${param.password}<br>
性别: ${param.sex}<br>
年龄: ${param.old}<br>
兴趣: ${paramValues.bahit[0]}
${paramvalues.habit[1]}
</body>
</html>
org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
这个错误什么意思?无法连接这个网址上的资源吗?
你是不是不能上网呀。要不就是你的那个url不对,仔细看看。
<%@ taglib prefix="c" uri="/WEB-INF/c.tld"%>
<%@ taglib prefix="fmt" uri="/WEB-INF/fmt.tld"%>
把jstl的标签库文件*.tld放到/WEB-INF目录下