如何解决Jsp 在第 9 行和第 12 行返回错误:javax.servlet.jsp.PageContext 无法解析为类型
请帮助我理解为什么下面 2 行(第 9 行和第 12 行)出错? 如果我没有 href 标签,它不会给出任何错误,但是当我添加它时会失败,所以我们需要做些什么来使用 href 标签
<!DOCTYPE html>
<html>
<head>
<Meta charset="ISO-8859-1">
<title>List of Instructor</title>
<link type="text/css"
rel="stylesheet"
**href="${pageContext.request.contextpath}/resources/css/instructorlist.css" />**
</head>
<body>
**<div id="header">**
<h2> List of Instructors in Tution Center </h2>
</div>
<div id="container">
<table>
<tr>
<th>Id</th>
<th>Name</th>
<th>Date of Birth</th>
<th>Email</th>
<th>LinkedIn Profile</th>
<th>Insta profile</th>
</tr>
<c:forEach var="tempInstructor" items="${instructorsInfo}">
<tr>
<td>${tempInstructor.instructorPersonalInfo.id}</td>
<td>${tempInstructor.instructorPersonalInfo.name}</td>
<td>${tempInstructor.instructorPersonalInfo.dateOfBirth}</td>
<td>${tempInstructor.instructorDigitalInfo.email}</td>
<td>${tempInstructor.instructorDigitalInfo.linkedIn}</td>
<td>${tempInstructor.instructorDigitalInfo.instaProfile}</td>
</tr>
</c:forEach>
</table>
</div>
</body>
</html>```
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。