⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 result.jsp

📁 新闻发布系统 jsp制作。可应用与毕业设计
💻 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 + -