JSP项目根路径:
<%=request.getContextPath() %>
${pageContext.request.contextPath}
<td>
<a href="javascript:window.location.href='<%=request.getContextPath() %>/to_update?sn=${emp.sn}';">修改</a>
 
<a href="javascript:window.location.href='${pageContext.request.contextPath/remove?sn=${emp.sn}';">删除</a>
</td>