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

📄 addnotice.jsp

📁 jsp实现的论坛 使用jsp+servlet+mysql 开发环境是myeclipes
💻 JSP
字号:
<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
	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 'welcome.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">
	-->

		<style type="text/css">
<!--
.STYLE1 {color: #33CCFF}
-->
    </style>
	</head>

	<body bgcolor="#C0DFFD">
		<p>
			论坛公告发布区:管理员特权专区
		</p>
		<p>
			<img src="old.gif" width="32" height="25">
			论坛公告:
		</p>
		<p>
			&nbsp;
		</p>
		<form method="post" action="/forum/servlet/Control?op=addnotice"
			name="addnotice">
			<table width="75%" height="232" border="0">
				<tr>
					<th width="10%" height="31" scope="row"
						style="font-weight: normal;">
						<font size="2">公告:</font>
					</th>
					<th width="67%" scope="row">
						<div align="left">
							<label>
								<input name="title" type="text" id="title" size="25">
							</label>
						</div>
					</th>
					<th width="23%" scope="row">
						<div align="center"></div>
					</th>
				</tr>
				<tr>
					<th height="195" rowspan="2" scope="row"
						style="font-weight: normal;">
						<font size="2">内容:</font>
					</th>
					<th height="153" colspan="2" scope="row">
						<div align="left">
							<label>
								<textarea name="content" cols="70%" rows="10%" id="content"></textarea>
							</label>
						</div>
					</th>
				</tr>
				<tr>
					<th colspan="2" scope="row">
						<label>

							<div align="center">
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								<input type="submit" name="Submit" value="提交">
							</div>
						</label>
					</th>
				</tr>
			</table>
			<p>
				&nbsp;
			</p>
			<p>
				&nbsp;
			</p>
		</form>
		<p>
			<br>
		</p>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -