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

📄 edit.jsp

📁 某高校的门户网站源码
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=gbk" %>
<%@page import="net.ijsp.news.news.*,net.ijsp.news.util.*"%>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %>

<%
/**
*  Title  消息录入界面
*  
*/
%>
<%@include file="getsession.jsp"%>




<HTML>
<HEAD>
<TITLE>编辑界面</TITLE>
<LINK REL="stylesheet" TYPE="text/css" HREF="../inc/admin.css">
<script language=JavaScript src="../inc/edit.js"></script>
<!--
<script type="text/javascript" src="../fckeditor/fckeditor.js" /></script>

<script type="text/javascript">
window.onload = function()
{
	// Automatically calculates the editor base path based on the _samples directory.
	// This is usefull only for these samples. A real application should use something like this:
	// oFCKeditor.BasePath = '/fckeditor/' ;	// '/fckeditor/' is the default value.
	var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;

	var oFCKeditor = new FCKeditor('content') ;
	oFCKeditor.BasePath	= "fckeditor/" ;
	oFCKeditor.ReplaceTextarea() ;
}
</script>
-->

</HEAD>
<body leftmargin="0" topmargin="0">

<%
int id = ParamUtils.getInt(request,"id",0);
if(id==0)
	throw new Exception("<li>请指定栏目的ID。");
%>

<form name=form2 method=post action=saveedit.jsp>
<center>

<table width="100%">
<input type="hidden" name="id" value=<%=id%>>
<tr>
   <td width="10%">标题:</td>
   <td><input type="text" name="subject" size="60"></td>
</tr>
<tr>
   <td width="10%">发布人:</td>
   <td><input type="text" name="author" size="20"></td>
</tr>
<tr>
   <td width="10%">出处:</td>
   <td><input type="text" name="from" size="30"></td>
</tr>
</table>

<table width="100%">
<tr><td width="10%">详细内容:</td>
    
</tr></table>

<!--<textarea name=content style="display:'none'" rows="1" cols="20"></textarea> -->


<center>

<!--<INPUT type="button" value=" 提 交 " class="ButtonStyle" onClick="Form2Submit()"> -->

<FCK:editor instanceName="content" basePath="/fckeditor" value="test"></FCK:editor>

<INPUT type="submit" value="提 交" class="ButtonStyle"> 

</center>
</form>

<table align="center">
<tr>
<td><font color="#FF0000">注意:标题和详细内容不能为空,否则将不能正确提交!</font>
</td>
</tr>
</table>



</body>
</HTML>

⌨️ 快捷键说明

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