在浏览器输入http://127.0.0.1/ora/ch5/easy.jsp
都是出现下面的错误
Location: /ora/ch5/easy.jsp
Internal Servlet Error:org.apache.jasper.compiler.CompileException: C:\tomcat\webapps\ora\ch5\easy.jsp(1,0) Unable to open taglibrary http://java.sun.com/jsp/jstl/core : Could not locate TLD META-INF/taglib.tld
源代码是
<%@ page contentType="text/html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<title>JSP is Easy</title>
</head>
<body bgcolor="white"> <h1>JSP is as easy as ...</h1> <%-- Calculate the sum of 1 + 2 + 3 dynamically --%>
1 + 2 + 3 = <c:out value="${1 + 2 + 3}" /> </body>
</html>
都是出现下面的错误
Location: /ora/ch5/easy.jsp
Internal Servlet Error:org.apache.jasper.compiler.CompileException: C:\tomcat\webapps\ora\ch5\easy.jsp(1,0) Unable to open taglibrary http://java.sun.com/jsp/jstl/core : Could not locate TLD META-INF/taglib.tld
源代码是
<%@ page contentType="text/html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<title>JSP is Easy</title>
</head>
<body bgcolor="white"> <h1>JSP is as easy as ...</h1> <%-- Calculate the sum of 1 + 2 + 3 dynamically --%>
1 + 2 + 3 = <c:out value="${1 + 2 + 3}" /> </body>
</html>
解决方案 »
- 请教在将.class文件打包成.jar文件时出现的问题
- 难道线程的死锁==线程的等待???应该不是吧
- 请大家帮我看看这个java题那里错了
- 类型转换问题
- 求助!我是初学者,问几个基础的题目?
- java编程思想程序研究不懂,望解释
- ArrayList的用法,整型数组的赋值
- 弱智问题,java中如何将两条sql处理成一个事物
- 有人用java做过搜索引擎方面的程序的吗?我有个很急的问题!高分必谢
- 求解决方法!Syntax error on token "=", @ expected after this token
- 请教下怎么把javax/servlet文件夹里的*.class和javax/servlet/http里的*.class打包到一个jar文件里去啊
- 请大虾们帮我看看这段程序代码
java工程师
java jsp servlet spring hibernate js css
上面会一部分既可qq 283765999
地点:北京