问题描述
请帮助我理解为什么下面 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 (将#修改为@)