left.jsp
来自「简单的流言板系统,用myeclipse进行编写的,采用简单的jstl+javab」· JSP 代码 · 共 47 行
JSP
47 行
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@include file="./tags.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<c:if test="${param.role == null}">
<table style="font-size: x-small; font-weight: lighter;">
<tr>
<td><a
href="${pageContext.request.contextPath }/User?method=newm"
target="right">New Message </a></td>
</tr>
<tr>
<td><a
href="${pageContext.request.contextPath }/User?method=mmm"
target="right">Manage My Message </a></td>
</tr>
</table>
</c:if>
<c:if test="${param.role == 'Admin'}">
<table style="font-size: x-small; font-weight: lighter;">
<tr>
<td><a
href="${pageContext.request.contextPath }/AdminServlet?method=all"
target="right">All Messages </a></td>
</tr>
<tr>
<td><a
href="${pageContext.request.contextPath }/AdminServlet?method=un"
target="right">Unpreplied messages </a></td>
</tr>
<tr>
<td><a
href="${pageContext.request.contextPath }/AdminServlet?method=user"
target="right">User Managed </a></td>
</tr>
</table>
</c:if>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?