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

📄 usermessage.jsp

📁 一个自己做的公司网站和办公职员管理系统。
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=Shift_JIS" %>
<%
/**
 * WOA 婰帠墈棗
 */
%>
<%@ page import="java.net.*" %>
<%@ page import="ws.woa.core.*" %>
<%@ page import="ws.woa.util.*" %>
<%@ page import="ws.woa.forum.*" %>

<jsp:useBean id="forum" class="ws.woa.forum.ForumBean" scope="request" />
<jsp:useBean id="content" class="ws.woa.forum.ForumContentBean" scope="request" />

<SCRIPT LANGUAGE="JavaScript">
///////////////////////////////////////////////////////
// 憲怣帪偺僠僃僢僋
function submitCheck(){
  if(!checkNotEmpty('審柤',document.Form1.Subject) ||
     !checkBytes('審柤',document.Form1.Subject,100)||
     !checkNotEmpty('杮暥',document.Form1.Content)){
     return false;
  } else {
丂丂 return confirm('搊榐偟傑偡丅傛傠偟偄偱偡偐丠');
  }
}
</SCRIPT>

<h2>僼僅乕儔儉</h2>

<h3><%= StrUtil.tagFilter(content.getSubject()) %></h3>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td>
  搳峞幰丗<%= StrUtil.tagFilter(content.getUserName()) %><br>
  搳峞擔丗<%= StrUtil.formatDate(content.getAddDate()) %>
</td><td align="right" valign="top">
  [ <a href="javascript:history.back();">栠傞</a> ]
</td></tr>
</table>

<pre>
<%= StrUtil.formFilter(content.getContent()) %>
</pre>

<h3>偙偺婰帠偵曉怣</h3>

<form name="Form1" action="forum.module" method="POST"
      onSubmit="return submitCheck()">
<table border>
<tr>
  <th width="100">審柤</th>
  <td>
    <input type="text" name="Subject" size="40"
           value="<%= StrUtil.formFilter(content.getResponseSubject()) %>">
  </td>
</tr>
<tr>
  <th>杮暥</th>
  <td>
    <textarea name="Content"
              cols="60" rows="10"><%= StrUtil.formFilter(content.getResponseContent()) %></textarea>
  </td>
</tr>
</table>
<br>
<input type="submit" value="搳 峞">
<input type="reset" value="儕僙僢僩">
<input type="hidden" name="Action" value="REGIST">
<input type="hidden" name="ParentID" value="<%= content.getContentID() %>">
<input type="hidden" name="ForumID" value="<%= forum.getForumID() %>">
</form>

⌨️ 快捷键说明

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