update list.jsp to shortern the code

This commit is contained in:
Calvin
2014-06-05 22:44:30 +08:00
parent aeaf06a735
commit af0c471d90
@@ -1,8 +1,6 @@
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="req" value="${pageContext.request}" />
<c:set var="ctx" value="${req.contextPath}"/>
<c:set var="reqUrl" value="http://${req.serverName}:${req.serverPort}${req.contextPath}" />
<c:set var="reqUrl" value="http://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}" />
<html>
<head>