804a3f8bc2af001d1b15e990c22d5dae

来自「mysql+stuts jdbc连接数据库 BBS论坛」· 代码 · 共 79 行

TXT
79
字号
<%@ page contentType="text/html;charset=utf-8" language="java"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="j2eebbs.*"%>
<html:html>
<head>
	<title>
		发表文章
	</title>
</head>

<link href="images/myStyleClass.css" rel="stylesheet" type="text/css">
<body>
	<%@ include file="/common/header.jsp"%>

	<html:errors />
	<%
		session.setAttribute(Constants.TALK_TYPE_KEY, "response");
		String username = (String) session.getAttribute("username");
		Vector responseVector = (Vector) session
			.getAttribute(Constants.RESPONSE_LIST_KEY);
		Response resp = null;
		if (responseVector != null) {
			String content;
			String grade;
	
			for (int i = 0; i < responseVector.size(); i++) {
				resp = (Response) responseVector.get(i);
				
				
				
		%>
	<html:form action="submitarticle.do">
		<table width="68%" border="0" align="center">
			<tr align="center">
				<td>
					<A href="javascript:history.go(-1);">
						返回主题
					</A>
				</td>
			</tr>
		</table>
		<table width="68%" border="1" align="center">
			<tr align="center">
				<td colspan="2">
					发表文章
				</td>
			</tr>
			<tr>
				<td width="15%" align="right">
					标题:<%=resp.getTitle()%>
				</td>
				<td width="85%">
					<INPUT class=input2 maxLength=100 size=80 name=title>
				</td>
			</tr>
			<tr>
				<td height="285" align="right">
					内容:
				</td>
				<td>
					<textarea class=input2 name=content rows=20 cols=80></textarea>
				</td>
			</tr>
			<tr align="center">
				<td colspan="2">
					<html:submit property="submit">
						发表
					</html:submit>
					<html:reset>                     
						重写
	      			</html:reset>
				</td>
			</tr>
		</table>
	</html:form>
	<%@ include file="/common/footer.jsp"%>
</body>
</html:html>

⌨️ 快捷键说明

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