基于javaweb+mysql的jsp+servlet新生报到迎新管理系统(jsp+mysql+css+javascript)

基于javaweb+mysql的jsp+servlet新生报到迎新管理系统(jsp+mysql+css+javascript)

私信源码获取及调试交流

运行环境

Java≥8、MySQL≥5.7、Tomcat≥8

开发工具

eclipse/idea/myeclipse/sts等均可配置运行

适用

课程设计,大作业,毕业设计,项目练习,学习演示等

功能说明

基于javaweb+mysql的JSP+Servlet新生报到迎新管理系统(jsp+mysql+css+javascript)

项目介绍

本项目分为前后台,分为管理员、辅导员、财务、学生四个角色;学生登录前台,管理员、辅导员、财务登录后台;

管理员角色包含以下功能:

管理员登录,管理人员管理,校园新闻管理,校园风光管理,宿舍楼管理,班级信息管理,留言管理,专业信息查询,新生报到管理,宿舍分配管理,大学公告管理,入校须知管理,系统公告管理,学校简介管理,友情链接管理,新生报到模板管理等功能。

辅导员角色包含以下功能:

辅导员登录,学生留言管理,新生报到管理,宿舍分配管理等功能。

财务管理角色包含以下功能:

财务管理员登录,管理学生缴费,个人密码管理等功能。

学生角色包含以下功能:

学生首页,校园新闻管理,报道流程管理,学校简介查看,在线留言,校园风光查看,入校须知查看,大学公告查看,学生信息后台,缴费记录查看,宿舍分配查看等功能。

由于本程序规模不大,可供课程设计,毕业设计学习演示之用

环境需要

1.运行环境:最好是java jdk 1.8,我们在这个平台上运行的。其他版本理论上也可以。

2.IDE环境:IDEA,Eclipse,Myeclipse都可以。推荐IDEA;

3.tomcat环境:Tomcat 7.x,8.x,9.x版本均可

4.硬件环境:windows 7/8/10 1G内存以上;或者 Mac OS;

5.数据库:MySql 5.7、8.0版本均可;

6.是否Maven项目:否;

技术栈

JSP+CSS+JavaScript+jquery+Hui+mysql

使用说明

  1. 使用Navicat或者其它工具,在mysql中创建对应名称的数据库,并导入项目的sql文件;

  2. 使用IDEA/Eclipse/MyEclipse导入项目;

  3. 将项目中src/db/db.java配置文件中的数据库配置改为自己的配置;

  4. 运行项目,浏览器中输入http://localhost:8080登录

管理员账号/密码:admin/123456

学生账号/密码: 2019006113/123456

财务人员账号/密码:caiwu/123456

辅导员账号/密码:fudao/123456

			String xuehao = "";
			String xingming = "";
			String mima = "";
			String xingbie = "";
			String banji = "";
			String zhuanye = "";
			String jiguan = "";
			String dizhi = "";
			String zhaopian = "";
			String sushelou = "";
			String fangjianhao = "";
			String chuangweihao = "";
			String issh = "";
			String addtime = "";
			int i = 0;
			//difengysfiqfgieuheze 
			while (RS_result.next()) {
				i = i + 1;
				id = RS_result.getString("id");
				xuehao = RS_result.getString("xuehao");
				xingming = RS_result.getString("xingming");
				mima = RS_result.getString("mima");
				xingbie = RS_result.getString("xingbie");
				banji = RS_result.getString("banji");
				zhuanye = RS_result.getString("zhuanye");
				jiguan = RS_result.getString("jiguan");
				dizhi = RS_result.getString("dizhi");
				zhaopian = RS_result.getString("zhaopian");
				sushelou = RS_result.getString("sushelou");
				fangjianhao = RS_result.getString("fangjianhao");
				chuangweihao = RS_result.getString("chuangweihao");
				issh = RS_result.getString("issh");
				addtime = RS_result.getString("addtime");
				//zoxngxetxoxngjxvi
		%>
		<tr>
			<td width="30" align="center"><%=i%></td>
			<td><%=xuehao%></td>
			<td><%=xingming%></td>
			<td><%=mima%></td>
			<td align='center'><%=xingbie%></td>
			<td><%=banji%></td>
			<td><%=zhuanye%></td>
			<td><%=jiguan%></td>
			<td><%=dizhi%></td>
			<td><%=sushelou%></td>
			<td><%=fangjianhao%></td>
			<td><%=chuangweihao%></td>
			<td width='80' align='center'><a
				href="sh.jsp?id=<%=id%>&yuan=<%=issh%>&tablename=xinshengbaodao"
				onClick="return confirm('您确定要执行此操作?')"><%=issh%></a></td>
			<td width="60" align="center"><a
			name="xingming" type="text" id="xingming"
			style='border: solid 1px #000000; color: #666666' size='15' /> 性别:<select
			name="xingbie" id="xingbie"><option value="">所有</option>
			<option value=""></option>
			<option value=""></option></select> 班级:<select name='banji' id='banji'><option
				value="">所有</option>
			<%
				sql = "select banji from banjixinxi order by id desc";
				RS_result = connDbBean.executeQuery(sql);
				while (RS_result.next()) {
			%><option
				value="<%=RS_result.getString("banji")%>"><%=RS_result.getString("banji")%></option>
			<%
				}
			%></select> 专业:<select name='zhuanye' id='zhuanye'><option value="">所有</option>
			<%
				sql = "select zhuanye from zhuanyexinxi order by id desc";
				RS_result = connDbBean.executeQuery(sql);
				while (RS_result.next()) {
			%><option
				value="<%=RS_result.getString("zhuanye")%>"><%=RS_result.getString("zhuanye")%></option>
			<%
				}
			%></select> 宿舍楼:<select name='sushelou' id='sushelou'><option
				value="">所有</option>
			<%
				sql = "select louhao from sushelouxinxi order by id desc";
				RS_result = connDbBean.executeQuery(sql);
				while (RS_result.next()) {
			%><option
				value="<%=RS_result.getString("louhao")%>"><%=RS_result.getString("louhao")%></option>
			<%
				}
			%></select>&nbsp;&nbsp;房间号:<input name="fangjianhao" type="text"
			id="fangjianhao" style='border: solid 1px #000000; color: #666666'
			size='15' />&nbsp;&nbsp;床位号:<input name="chuangweihao" type="text"
			id="chuangweihao" style='border: solid 1px #000000; color: #666666'
			size='15' /> <input type="submit" name="Submit" value="查找"
			style='border: solid 1px #000000; color: #666666' />
	</form>

	<table width="100%" border="1" align="center" cellpadding="3"
		cellspacing="1" bordercolor="00FFFF" style="border-collapse: collapse">
		<tr>
			<td width="30" align="center" bgcolor="CCFFFF">序号</td>
			<td bgcolor='#CCFFFF'>学号</td>
			<td bgcolor='#CCFFFF'>姓名</td>
			<td bgcolor='#CCFFFF'>密码</td>
			<td bgcolor='#CCFFFF' width='40' align='center'>性别</td>
			<td bgcolor='#CCFFFF'>班级</td>
			<td bgcolor='#CCFFFF'>专业</td>
	<table width="992" border="0" align="center" cellpadding="0"
		cellspacing="0">
		<tr>
			<td colspan="2"><%@ include file="qttop.jsp"%>
			</td>
		</tr>
		<tr>
			<td width="163" valign="top"><%@ include file="qtleft.jsp"%></td>
			<td width="813" valign="top"><table width="98%" border="0"
					align="center" cellpadding="0" cellspacing="0">
					<tbody>
						<tr>
							<td height="44" background="qtimages/index_r4_c8.jpg"><table
									width="100%" border="0" cellpadding="0" cellspacing="0">
									<tr>
										<td width="8%">&nbsp;</td>
										<td width="92%" class="red STYLE2">学校简介</td>
									</tr>
								</table></td>
						</tr>
						<tr>
							<td height="182" valign="top" class="boder"><table
									cellspacing="0" cellpadding="0" width="98%" align="center"
									border="0">
									<tbody>
										<tr>
											<td valign="top" width="487"><div class="introliness">
													<%
														String sql = "select content from dx where leibie='系统简介'";
														String neirong = "";
														ResultSet RS_result = connDbBean.executeQuery(sql);
														while (RS_result.next()) {
															neirong = RS_result.getString("content");
															out.print(neirong);
														}
													%>
												</div></td>
											<td width="13">&nbsp;</td>
											<td width="249" align="center" valign="middle"><SCRIPT
													type=text/javascript>
var focus_width=254;
var focus_height=234;
var text_height=19;
var swf_height = focus_height+text_height;
var pics="";
var links="";
var texts="";
<%String sqlbht;
			%><option
				value="<%=RS_result.getString("zhuanye")%>"><%=RS_result.getString("zhuanye")%></option>
			<%
				}
			%></select> 宿舍楼:<select name='sushelou' id='sushelou'><option
				value="">所有</option>
			<%
				sql = "select louhao from sushelouxinxi order by id desc";
				RS_result = connDbBean.executeQuery(sql);
				while (RS_result.next()) {
			%><option
				value="<%=RS_result.getString("louhao")%>"><%=RS_result.getString("louhao")%></option>
			<%
				}
			%></select>&nbsp;&nbsp;房间号:<input name="fangjianhao" type="text"
			id="fangjianhao" style='border: solid 1px #000000; color: #666666'
			size='15' />&nbsp;&nbsp;床位号:<input name="chuangweihao" type="text"
			id="chuangweihao" style='border: solid 1px #000000; color: #666666'
			size='15' /> <input type="submit" name="Submit" value="查找"
			style='border: solid 1px #000000; color: #666666' />
	</form>

	<table width="100%" border="1" align="center" cellpadding="3"
		cellspacing="1" bordercolor="00FFFF" style="border-collapse: collapse">
		<tr>
			<td width="30" align="center" bgcolor="CCFFFF">序号</td>
			<td bgcolor='#CCFFFF'>学号</td>
			<td bgcolor='#CCFFFF'>姓名</td>
			<td bgcolor='#CCFFFF'>密码</td>
			<td bgcolor='#CCFFFF' width='40' align='center'>性别</td>
			<td bgcolor='#CCFFFF'>班级</td>
			<td bgcolor='#CCFFFF'>专业</td>
			<td bgcolor='#CCFFFF'>籍贯</td>
			<td bgcolor='#CCFFFF'>地址</td>
			<td bgcolor='#CCFFFF' width='90' align='center'>照片</td>
			<td bgcolor='#CCFFFF'>宿舍楼</td>
			<td bgcolor='#CCFFFF'>房间号</td>
			<td bgcolor='#CCFFFF'>床位号</td>
			<td bgcolor='#CCFFFF' width='80' align='center'>是否审核</td>
			<td width="138" align="center" bgcolor="CCFFFF">添加时间</td>

			<td width="60" align="center" bgcolor="CCFFFF">操作</td>
		</tr>
		<%
			int curpage = 1;//当前页
			int page_record = 10;//每页显示的记录数
			int zgs = 0;
			int zys = 0;
			//用下面的方法(sql查询完成,速度快)
			String hsgnpage = request.getParameter("page");
			String fysql = "select count(id) as ss from xinshengbaodao";
			ResultSet RS_resultfy = connDbBean.executeQuery(fysql);
			while (RS_resultfy.next()) {

        return this.rs;
    }

    public void executeUpdate(String sql) {
        Statement stmt = null;
        this.rs = null;
        try {
            this.connect = DriverManager.getConnection(this.sConnStr, username, password);
            stmt = this.connect.createStatement();
            stmt.executeUpdate(sql);
            stmt.close();
            this.connect.close();
        } catch (SQLException ex) {
            System.err.println(ex.getMessage());
        }
    }
}
<%@ page language="java" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ page language="java" import="java.sql.*"%>
<jsp:useBean id="connDbBean" scope="page" class="db.db" />
<html>
<head>
<base href="<%=basePath%>">

<title>新生报到系统</title>
<LINK href="qtimages/style.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.style1 {
	WIDTH: 63px
}

.STYLE2 {
	color: #477641;
	font-weight: bold;
}

.STYLE3 {
	color: #FFFFFF
}
        </div>
        <div class="section">
            <h3><var id="lang_tableSize"></var></h3>
            <ul>
                <li>
                    <label><input type="radio" id="J_autoSizeContent" name="size"/><var id="lang_autoSizeContent"></var></label>
                </li>
                <li>
                    <label><input type="radio" id="J_autoSizePage" name="size"/><var id="lang_autoSizePage"></var></label>
                </li>
            </ul>
            <div class="clear"></div>
        </div>
        <div class="section">
            <h3><var id="lang_borderStyle"></var></h3>
            <ul>
                <li>
                    <span><var id="lang_color"></var></span>
                    <input type="text" class="tone" id="J_tone" readonly='readonly' />
                </li>
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    <div class="right">
        <div class="section">
            <h3><var id="lang_example"></var></h3>
            <div class="preview" id="J_preview">
            </div>
        </div>
    </div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <style type="text/css">
        .section {
            text-align: center;
            margin-top: 10px;
        }
        .section input {
            margin-left: 5px;
            width: 70px;
																			// String id="";
																			biaoti = "";
																			addtime = "";
																			i = 0;
																			while (RS_result.next()) {
																				i = i + 1;
																				id = RS_result.getString("id");
																				biaoti = RS_result.getString("biaoti");
																				if (biaoti.length() >= 28) {
																					biaoti = biaoti.substring(0, 28);
																				}
																				addtime = RS_result.getString("addtime");
																		%>
																		<tr>
																			<td width="5%" height="25"><img height="7"
																				src="qtimages/index_r9_c9.jpg" width="7" /></td>
																			<td width="95%" height="25"><a
																				href="gg_detail.jsp?id=<%=id%>"><%=biaoti%></a></td>
																		</tr>
																		<%
																			}
																		%>
																	</tbody>
																</table></td>
														</tr>
														<tr>
															<td background="qtimages/index_r29_c8.jpg" height="10"></td>
														</tr>
													</tbody>
												</table></td>
										</tr>
									</tbody>
								</table></td>
						</tr>
						<tr>
							<td height="3"></td>
						</tr>
					</tbody>
				</table></td>
		</tr>
	</table>
	<%@ include file="qtdown.jsp"%>
</body>
</html>

<%@ page language="java" pageEncoding="UTF-8"%>
<%
			int i = 0;
			//difengysfiqfgieuheze 
			while (RS_result.next()) {
				i = i + 1;
				id = RS_result.getString("id");
				xuehao = RS_result.getString("xuehao");
				xingming = RS_result.getString("xingming");
				mima = RS_result.getString("mima");
				xingbie = RS_result.getString("xingbie");
				banji = RS_result.getString("banji");
				zhuanye = RS_result.getString("zhuanye");
				jiguan = RS_result.getString("jiguan");
				dizhi = RS_result.getString("dizhi");
				zhaopian = RS_result.getString("zhaopian");
				sushelou = RS_result.getString("sushelou");
				fangjianhao = RS_result.getString("fangjianhao");
				chuangweihao = RS_result.getString("chuangweihao");
				issh = RS_result.getString("issh");
				addtime = RS_result.getString("addtime");
				//zoxngxetxoxngjxvi
		%>
		<tr>
			<td width="30" align="center"><%=i%></td>
			<td><%=xuehao%></td>
			<td><%=xingming%></td>
			<td><%=mima%></td>
			<td align='center'><%=xingbie%></td>
			<td><%=banji%></td>
			<td><%=zhuanye%></td>
			<td><%=jiguan%></td>
			<td><%=dizhi%></td>
			<td width='90'><a href='<%=zhaopian%>' target='_blank'><img
					src='<%=zhaopian%>' width=88 height=99 border=0 /></a></td>
			<td><%=sushelou%></td>
			<td><%=fangjianhao%></td>
			<td><%=chuangweihao%></td>
			<td width='80' align='center'><a
				href="sh.jsp?id=<%=id%>&yuan=<%=issh%>&tablename=xinshengbaodao"
				onclick="return confirm('您确定要执行此操作?')"><%=issh%></a></td>
			<td width="138" align="center"><%=addtime%></td>
        UE.getEditor('editor').execCommand('insertHtml', value)
    }
    function createEditor() {
        enableBtn();
        UE.getEditor('editor');
    }
    function getAllHtml() {
        alert(UE.getEditor('editor').getAllHtml())
    }
    function getContent() {
        var arr = [];
        arr.push("使用editor.getContent()方法可以获得编辑器的内容");
        arr.push("内容为:");
        arr.push(UE.getEditor('editor').getContent());
        alert(arr.join("\n"));
    }
    function getPlainTxt() {
        var arr = [];
        arr.push("使用editor.getPlainTxt()方法可以获得编辑器的带格式的纯文本内容");
        arr.push("内容为:");
        arr.push(UE.getEditor('editor').getPlainTxt());
        alert(arr.join('\n'))
    }
    function setContent(isAppendTo) {
        var arr = [];
        arr.push("使用editor.setContent('欢迎使用ueditor')方法可以设置编辑器的内容");
        UE.getEditor('editor').setContent('欢迎使用ueditor', isAppendTo);
        alert(arr.join("\n"));
    }
    function setDisabled() {
        UE.getEditor('editor').setDisabled('fullscreen');
        disableBtn("enable");
    }

    function setEnabled() {
        UE.getEditor('editor').setEnabled();
        enableBtn();
    }

    function getText() {
        //当你点击按钮时编辑区域已经失去了焦点,如果直接用getText将不会得到内容,所以要在选回来,然后取得内容
        var range = UE.getEditor('editor').selection.getRange();

    function setEnabled() {
        UE.getEditor('editor').setEnabled();
        enableBtn();
    }

    function getText() {
        //当你点击按钮时编辑区域已经失去了焦点,如果直接用getText将不会得到内容,所以要在选回来,然后取得内容
        var range = UE.getEditor('editor').selection.getRange();
        range.select();
        var txt = UE.getEditor('editor').selection.getText();
        alert(txt)
    }

    function getContentTxt() {
        var arr = [];
        arr.push("使用editor.getContentTxt()方法可以获得编辑器的纯文本内容");
        arr.push("编辑器的纯文本内容为:");
        arr.push(UE.getEditor('editor').getContentTxt());
        alert(arr.join("\n"));
    }
    function hasContent() {
        var arr = [];
        arr.push("使用editor.hasContents()方法判断编辑器里是否有内容");
        arr.push("判断结果为:");
        arr.push(UE.getEditor('editor').hasContents());
        alert(arr.join("\n"));
    }
    function setFocus() {
        UE.getEditor('editor').focus();
    }
    function deleteEditor() {
        disableBtn();
        UE.getEditor('editor').destroy();
    }
    function disableBtn(str) {
        var div = document.getElementById('btns');
        var btns = UE.dom.domUtils.getElementsByTagName(div, "button");
        for (var i = 0, btn; btn = btns[i++];) {
            if (btn.id == str) {
                UE.dom.domUtils.removeAttributes(btn, ["disabled"]);
            } else {
                btn.setAttribute("disabled", "true");
            }
        }
    }
												<tr>
													<%
														sql = "select  id,mingcheng,tupian from xiaoyuanfengguang where tupian<>'' order by id desc limit 0,4";
														RS_result = connDbBean.executeQuery(sql);
														String xingming = "";
														String touxiang = "";
														String id = "";
														while (RS_result.next()) {
															id = RS_result.getString("id");
															xingming = RS_result.getString("mingcheng");
															touxiang = RS_result.getString("tupian");
													%>
													<td align="center"><table width="150" border="0"
															cellspacing="0" cellpadding="0">
															<tr>
																<td height="129" align="center"><a
																	href="<%=touxiang%>" target="_blank"><img
																		src="<%=touxiang%>" width="129" height="123"
																		border="0" /></a></td>
															</tr>
															<tr>
																<td height="26" align="center"><%=xingming%></td>
															</tr>
														</table></td>
													<%
														}
													%>
												</tr>
											</table></td>
									</tr>
								</table></td>
						</tr>
						<tr>
							<td><img height="9" src="qtimages/index_r19_c8.jpg"
								width="320" /></td>
						</tr>
						<tr>
							<td height="3"></td>
						</tr>
						<tr>
        arr.push("使用editor.setContent('欢迎使用ueditor')方法可以设置编辑器的内容");
        UE.getEditor('editor').setContent('欢迎使用ueditor', isAppendTo);
        alert(arr.join("\n"));
    }
    function setDisabled() {
        UE.getEditor('editor').setDisabled('fullscreen');
        disableBtn("enable");
    }

    function setEnabled() {
        UE.getEditor('editor').setEnabled();
        enableBtn();
    }

    function getText() {
        //当你点击按钮时编辑区域已经失去了焦点,如果直接用getText将不会得到内容,所以要在选回来,然后取得内容
        var range = UE.getEditor('editor').selection.getRange();
        range.select();
        var txt = UE.getEditor('editor').selection.getText();
        alert(txt)
    }

    function getContentTxt() {
        var arr = [];
        arr.push("使用editor.getContentTxt()方法可以获得编辑器的纯文本内容");
        arr.push("编辑器的纯文本内容为:");
        arr.push(UE.getEditor('editor').getContentTxt());
        alert(arr.join("\n"));
    }
    function hasContent() {
        var arr = [];
        arr.push("使用editor.hasContents()方法判断编辑器里是否有内容");
        arr.push("判断结果为:");
        arr.push(UE.getEditor('editor').hasContents());
        alert(arr.join("\n"));
    }
    function setFocus() {
        UE.getEditor('editor').focus();
    }
    function deleteEditor() {
        disableBtn();
        UE.getEditor('editor').destroy();
    }
    function disableBtn(str) {
        var div = document.getElementById('btns');
        var btns = UE.dom.domUtils.getElementsByTagName(div, "button");
        for (var i = 0, btn; btn = btns[i++];) {
            if (btn.id == str) {
                UE.dom.domUtils.removeAttributes(btn, ["disabled"]);
            } else {
                btn.setAttribute("disabled", "true");
															<td width="387" height="40"
																background="qtimages/index_r22_c14.jpg"><table
																	width="100%" border="0" cellpadding="0" cellspacing="0">
																	<tr>
																		<td width="16%">&nbsp;</td>
																		<td width="84%"><a href="news.jsp?lb=入校需知"><font
																				class="STYLE2">入校需知</font></a></td>
																	</tr>
																</table></td>
														</tr>
														<tr>
															<td class="boder" valign="top" height="131"><table
																	class="newsline" cellspacing="0" cellpadding="0"
																	width="95%" align="center" border="0">
																	<tbody>
																		<%
																			sql = "select  id,biaoti,addtime from xinwentongzhi where leibie='入校需知' order by id desc limit 0,7";

																			RS_result = connDbBean.executeQuery(sql);
																			// String id="";
																			biaoti = "";
																			addtime = "";
																			i = 0;
																			while (RS_result.next()) {
																				i = i + 1;
																				id = RS_result.getString("id");
																				biaoti = RS_result.getString("biaoti");
																				if (biaoti.length() >= 28) {
																					biaoti = biaoti.substring(0, 28);
																				}
																				addtime = RS_result.getString("addtime");
																		%>
																		<tr>
																			<td width="5%" height="25"><img height="7"
																				src="qtimages/index_r9_c9.jpg" width="7" /></td>
																			<td width="95%" height="25"><a
																				href="gg_detail.jsp?id=<%=id%>"><%=biaoti%></a></td>
																		</tr>
																		<%
																			}
																		%>
																	</tbody>
																</table></td>
														</tr>
														<tr>
															<td background="qtimages/index_r29_c8.jpg" height="10"></td>
														</tr>
														<tr>
															<td class="boder" valign="top" height="131"><table
																	class="newsline" cellspacing="0" cellpadding="0"
																	width="95%" align="center" border="0">
																	<tbody>
																		<%
																			sql = "select  id,biaoti,addtime from xinwentongzhi where leibie='入校需知' order by id desc limit 0,7";

																			RS_result = connDbBean.executeQuery(sql);
																			// String id="";
																			biaoti = "";
																			addtime = "";
																			i = 0;
																			while (RS_result.next()) {
																				i = i + 1;
																				id = RS_result.getString("id");
																				biaoti = RS_result.getString("biaoti");
																				if (biaoti.length() >= 28) {
																					biaoti = biaoti.substring(0, 28);
																				}
																				addtime = RS_result.getString("addtime");
																		%>
																		<tr>
																			<td width="5%" height="25"><img height="7"
																				src="qtimages/index_r9_c9.jpg" width="7" /></td>
																			<td width="95%" height="25"><a
																				href="gg_detail.jsp?id=<%=id%>"><%=biaoti%></a></td>
																		</tr>
																		<%
																			}
																		%>
																	</tbody>
																</table></td>
														</tr>
														<tr>
															<td background="qtimages/index_r29_c8.jpg" height="10"></td>
														</tr>
													</tbody>
												</table></td>
										</tr>
									</tbody>
								</table></td>
						</tr>
						<tr>
							<td height="3"></td>
						</tr>
					</tbody>
				</table></td>
		</tr>
	</table>
	<%@ include file="qtdown.jsp"%>
</body>
            <ul>
                <li>
                    <label onselectstart="return false"><input type="checkbox" id="J_title" name="style"/><var id="lang_insertTitle"></var></label>
                </li>
                <li>
                    <label onselectstart="return false"><input type="checkbox" id="J_titleCol" name="style"/><var id="lang_insertTitleCol"></var></label>
                </li>
            </ul>
            <ul>
                <li>
                    <label onselectstart="return false"><input type="checkbox" id="J_caption" name="style"/><var id="lang_insertCaption"></var></label>
                </li>
                <li>
                    <label onselectstart="return false"><input type="checkbox" id="J_sorttable" name="style"/><var id="lang_orderbycontent"></var></label>
                </li>
            </ul>
            <div class="clear"></div>
        </div>
        <div class="section">
            <h3><var id="lang_tableSize"></var></h3>
            <ul>
                <li>
                    <label><input type="radio" id="J_autoSizeContent" name="size"/><var id="lang_autoSizeContent"></var></label>
                </li>
                <li>
                    <label><input type="radio" id="J_autoSizePage" name="size"/><var id="lang_autoSizePage"></var></label>
                </li>
            </ul>
            <div class="clear"></div>
        </div>
        <div class="section">
            <h3><var id="lang_borderStyle"></var></h3>
            <ul>
                <li>
                    <span><var id="lang_color"></var></span>
                    <input type="text" class="tone" id="J_tone" readonly='readonly' />
                </li>
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    <div class="right">
        <div class="section">
            <h3><var id="lang_example"></var></h3>
    <button onclick="createEditor()">
    创建编辑器</button>
    <button onclick="deleteEditor()">
    删除编辑器</button>
</div>

<script type="text/javascript">

    //实例化编辑器
    //建议使用工厂方法getEditor创建和引用编辑器实例,如果在某个闭包下引用该编辑器,直接调用UE.getEditor('editor')就能拿到相关的实例
    var ue = UE.getEditor('editor');

    function isFocus(e){
        alert(UE.getEditor('editor').isFocus());
        UE.dom.domUtils.preventDefault(e)
    }
    function setblur(e){
        UE.getEditor('editor').blur();
        UE.dom.domUtils.preventDefault(e)
    }
    function insertHtml() {
        var value = prompt('插入html代码', '');
        UE.getEditor('editor').execCommand('insertHtml', value)
    }
    function createEditor() {
        enableBtn();
        UE.getEditor('editor');
    }
    function getAllHtml() {
        alert(UE.getEditor('editor').getAllHtml())
    }
    function getContent() {
        var arr = [];
        arr.push("使用editor.getContent()方法可以获得编辑器的内容");
        arr.push("内容为:");
        arr.push(UE.getEditor('editor').getContent());
        alert(arr.join("\n"));
    }
    function getPlainTxt() {
        var arr = [];
        arr.push("使用editor.getPlainTxt()方法可以获得编辑器的带格式的纯文本内容");
        arr.push("内容为:");
        arr.push(UE.getEditor('editor').getPlainTxt());
        alert(arr.join('\n'))
    }
    function setContent(isAppendTo) {
        </div>
    </div>
    <div class="right">
        <div class="section">
            <h3><var id="lang_example"></var></h3>
            <div class="preview" id="J_preview">
            </div>
        </div>
    </div>
</div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <style type="text/css">
        .section {
            text-align: center;
            margin-top: 10px;
        }
        .section input {
            margin-left: 5px;
            width: 70px;
        }
    </style>
</head>
<body>
<div class="section">
    <span><var id="lang_tdBkColor"></var></span>
    <input type="text" id="J_tone"/>
</div>
<script type="text/javascript">
    var tone = $G("J_tone"),
            colorPiker = new UE.ui.ColorPicker({
                editor:editor
            }),
            colorPop = new UE.ui.Popup({
        } catch (SQLException ex) {
            System.err.println(ex.getMessage());
        }
    }
}
<%@ page language="java" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ page language="java" import="java.sql.*"%>
<jsp:useBean id="connDbBean" scope="page" class="db.db" />
<html>
<head>
<base href="<%=basePath%>">

<title>新生报到系统</title>
<LINK href="qtimages/style.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.style1 {
	WIDTH: 63px
}

.STYLE2 {
	color: #477641;
	font-weight: bold;
}

.STYLE3 {
	color: #FFFFFF
}

.STYLE4 {
	color: #FFFFFF;
	font-weight: bold;
}
-->
</style>

</head>

请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述
请添加图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值