?? result.jsp
字號:
<%@ taglib prefix="c" uri="/WEB-INF/c.tld"%>
<%@ page isELIgnored="false" language="java" import="java.util.*"
pageEncoding="gbk"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'result.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<c:choose>
<c:when test="${requestScope.isSuccess}">
<h1>
插入成功!
</h1>
<br>
<c:out value="以下是剛插入的信息"></c:out>
<table width="271" border="1" height="76">
<tbody>
<tr>
<td>
一級新聞標題
</td>
<td>
創建時間
</td>
<td valign="top">
創建者
<br>
</td>
</tr>
<tr>
<td>
<c:out value="${requestScope.fTitleName}"></c:out>
</td>
<td>
<c:out value="${requestScope.createTime}"></c:out>
</td>
<td valign="top">
<c:out value="${requestScope.creater}"></c:out>
</td>
</tr>
</tbody>
</table>
<a href="">返回</a>
<form method="post" action="SelectFirstLevelServlet" name="form1">
<input type="submit" value="查看信息" name="button2">
</form>
<br>
</c:when>
<c:when test="${requestScope.isUpdateSucess}">
<h1>
更新成功!
</h1>
<br>
<a href="">返回</a>
<br>
<form method="post" action="SelectFirstLevelServlet" name="form1">
<input type="submit" value="查看信息" name="button2">
</form>
</c:when>
<c:when test="${requestScope.isUpdateSSucess}">
<h1>
更新成功!
</h1>
<br>
<a href="">返回</a>
<br>
<form method="post" action="SelectSecondLevelServlet" name="form1">
<input type="submit" value="查看信息" name="button2">
</form>
</c:when>
<c:when test="${requestScope.isDeleteSucess}">
<h1>
刪除成功!
</h1>
<br>
<a href="">返回</a>
<br>
<form method="post" action="SelectFirstLevelServlet" name="form1">
<input type="submit" value="查看信息" name="button2">
</form>
</c:when>
<c:when test="${requestScope.isDeleteSSucess}">
<h1>
刪除成功!
</h1>
<br>
<a href="">返回</a>
<br>
<form method="post" action="SelectSecondLevelServlet" name="form1">
<input type="submit" value="查看信息" name="button2">
</form>
</c:when>
<c:when test="${requestScope.isSSuccess}">
<h1>
插入成功!
</h1>
<br>
<c:out value="以下是剛插入的信息"></c:out>
<table width="271" border="1" height="76">
<tbody>
<tr>
<td>
二級新聞標題
</td>
<td>
創建時間
</td>
<td valign="top">
創建者
<br>
</td>
<td valign="top">
路徑
<br>
</td>
<td valign="top">
一級新聞標題
<br>
</td>
</tr>
<tr>
<td>
<c:out value="${requestScope.stitle}"></c:out>
</td>
<td>
<c:out value="${requestScope.stime}"></c:out>
</td>
<td valign="top">
<c:out value="${requestScope.screater}"></c:out>
</td>
<td valign="top">
<c:out value="${requestScope.sfilePath}"></c:out>
</td>
<td valign="top">
<c:out value="${requestScope.parentTitleid}"></c:out>
</td>
</tr>
</tbody>
</table>
<a href="">返回</a>
<form method="post" action="SelectSecondLevelServlet" name="form1">
<input type="submit" value="查看信息" name="button2">
</form>
<br>
</c:when>
<c:otherwise>
<h1>
插入或者更新失敗
</h1>
<a href="">返回</a>
</c:otherwise>
</c:choose>
<br>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -