论文查询四
查询
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <!DOCTYPE html> <html> <head> <title>论文查询</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <style type="text/css"> * { margin: 0; padding: 0; } * { box-sizing: border-box; } /* body 样式 */ body { font-family: Arial; margin: 0; } /* 标题 */ .header { padding: 80px; text-align: center; color: #1c1c1a; font:24px "华文彩云"; background:url(https://img2.baidu.com/it/u=3353707289,3293241074&fm=253&fmt=auto&app=138&f=JPEG?w=704&h=500); background-size:cover; } /* 标题字体加大 */ .header h1 { font-size: 40px; } /*设置超链接样式*/ table { border-collapse: collapse; border-spacing: 0; } .zuo{ width: 100%; height: 1000px; border-radius:30px; border:10px solid #ffd222; display: inline-block; float: left; position: relative; color: black; font:24px "华文彩云"; background-color:#f3e65d; } p { font-size: 12pt; text-indent: 2em; font:24px "华文行楷"; } input{ outline-style: none ; border: 1px solid #ccc; border-radius: 3px; padding: 13px 14px; width: 620px; font-size: 14px; font-weight: 700; font-family: "Microsoft soft"; } button { /* 按钮美化 */ width: 200px; /* 宽度 */ height: 40px; /* 高度 */ border-width: 0px; /* 边框宽度 */ border-radius: 5px; /* 边框半径 */ background: #28eb0e; /* 背景颜色 */ cursor: pointer; /* 鼠标移入按钮范围时出现手势 */ outline: none; /* 不显示轮廓线 */ font-family: "幼圆"; /* 设置字体 */ color: white; /* 字体颜色 */ font-size: 17px; /* 字体大小 */ } button:hover { /* 鼠标移入按钮范围时改变颜色 */ background: #69fe55; } </style> </head> <body> <% Object message =request.getAttribute("message"); if(message!=null&&!"".equals(message)){ %> <script type="text/javascript"> alert("<%=request.getAttribute("message")%>"); </script> <%}%> <div class="header"> <h1>论文查询网站</h1> </div> <div class="zuo"> <a href="index.jsp">返回主页</a> <form action="servlet?method=chaxun" method="post"> 请输入要查询的编号<input type="text" name="id"> 请输入要查询的作者<input type="text" name="author"> <button type="submit">查 询</button> </div> <!--音乐--> <link rel="stylesheet" href="https://blog-static.cnblogs.com/files/elkyo/APlayer.min.css"> <div id="player" class="aplayer aplayer-withlist aplayer-fixed" data-id="7019693974" data-server="netease" data-type="playlist" data-order="random" data-fixed="true" data-listfolded="true" data-theme="#2D8CF0"></div> <script src="https://blog-static.cnblogs.com/files/elkyo/APlayer.min.js"></script> <script src="https://blog-static.cnblogs.com/files/elkyo/Meting.min.js"></script> <script type="text/javascript"> var body = document.getElementsByTagName('body')[0]; var textArr=["乐观", "❤" ,"积极", "向上", "自由", "正能量","(*^▽^*)", "元气满满", "开心" ,"快乐", "善良", "可爱", "暴富", "暴瘦"]; document.addEventListener('click',(e)=>{ // 生成字符串 var ev = e || window.event; var baseX = ev.pageX; var baseY = ev.pageY; var new_span=document.createElement('span'); new_span.innerText=textArr[parseInt(Math.random()*textArr.length)] new_span.style.position='fixed'; new_span.style.left=baseX-10+'px'; new_span.style.top=baseY+'px'; new_span.style.color='RGB('+parseInt(Math.random()*255)+','+parseInt(Math.random()*255)+','+parseInt(Math.random()*255)+')'; body.appendChild(new_span); // 定时器1实现字符串上升效果 var timer = window.setInterval(()=>{ new_span.style.top=parseInt(window.getComputedStyle(new_span,null)['top'])-2+'px'; // console.log(window.getComputedStyle(new_span,null)['fontSize']); new_span.style.opacity=window.getComputedStyle(new_span,null)['opacity']-0.02; },30); // 定时器2实现字符串消失 window.setTimeout(()=>{ window.clearInterval(timer); body.removeChild(new_span); },1000); },false); </script> <hr /> </body> </html>
delete
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <title>论文查询</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <style type="text/css"> * { margin: 0; padding: 0; } * { box-sizing: border-box; } /* body 样式 */ body { font-family: Arial; margin: 0; } /* 标题 */ .header { padding: 80px; text-align: center; color: #1c1c1a; font:24px "华文彩云"; background:url(https://img2.baidu.com/it/u=3353707289,3293241074&fm=253&fmt=auto&app=138&f=JPEG?w=704&h=500); background-size:cover; } /* 标题字体加大 */ .header h1 { font-size: 40px; } /*设置超链接样式*/ table { border-collapse: collapse; border-spacing: 0; } .zuo{ width: 100%; height: 1000px; border-radius:30px; border:10px solid #ffd222; display: inline-block; float: left; position: relative; color: black; font:24px "华文彩云"; background-color:#f3e65d; } p { font-size: 12pt; text-indent: 2em; font:24px "华文行楷"; } input{ outline-style: none ; border: 1px solid #ccc; border-radius: 3px; padding: 13px 14px; width: 620px; font-size: 14px; font-weight: 700; font-family: "Microsoft soft"; } button { /* 按钮美化 */ width: 200px; /* 宽度 */ height: 40px; /* 高度 */ border-width: 0px; /* 边框宽度 */ border-radius: 5px; /* 边框半径 */ background: #28eb0e; /* 背景颜色 */ cursor: pointer; /* 鼠标移入按钮范围时出现手势 */ outline: none; /* 不显示轮廓线 */ font-family: "幼圆"; /* 设置字体 */ color: white; /* 字体颜色 */ font-size: 17px; /* 字体大小 */ } button:hover { /* 鼠标移入按钮范围时改变颜色 */ background: #69fe55; } </style> </head> <body> <% Object message =request.getAttribute("message"); if(message!=null&&!"".equals(message)){ %> <script type="text/javascript"> alert("<%=request.getAttribute("message")%>"); </script> <%}%> <div class="header"> <h1>论文查询网站</h1> </div> <div class="zuo"> <center> <a href="index.jsp">返回主页</a> <p> </p> <form action="servlet?method=delete" method="post"> 请输入要删除的编号<input type="text" name="id"> <button type="submit">删 除</button> </form> </center> </div> <!--音乐--> <link rel="stylesheet" href="https://blog-static.cnblogs.com/files/elkyo/APlayer.min.css"> <div id="player" class="aplayer aplayer-withlist aplayer-fixed" data-id="7019693974" data-server="netease" data-type="playlist" data-order="random" data-fixed="true" data-listfolded="true" data-theme="#2D8CF0"></div> <script src="https://blog-static.cnblogs.com/files/elkyo/APlayer.min.js"></script> <script src="https://blog-static.cnblogs.com/files/elkyo/Meting.min.js"></script> <script type="text/javascript"> var body = document.getElementsByTagName('body')[0]; var textArr=["乐观", "❤" ,"积极", "向上", "自由", "正能量","(*^▽^*)", "元气满满", "开心" ,"快乐", "善良", "可爱", "暴富", "暴瘦"]; document.addEventListener('click',(e)=>{ // 生成字符串 var ev = e || window.event; var baseX = ev.pageX; var baseY = ev.pageY; var new_span=document.createElement('span'); new_span.innerText=textArr[parseInt(Math.random()*textArr.length)] new_span.style.position='fixed'; new_span.style.left=baseX-10+'px'; new_span.style.top=baseY+'px'; new_span.style.color='RGB('+parseInt(Math.random()*255)+','+parseInt(Math.random()*255)+','+parseInt(Math.random()*255)+')'; body.appendChild(new_span); // 定时器1实现字符串上升效果 var timer = window.setInterval(()=>{ new_span.style.top=parseInt(window.getComputedStyle(new_span,null)['top'])-2+'px'; // console.log(window.getComputedStyle(new_span,null)['fontSize']); new_span.style.opacity=window.getComputedStyle(new_span,null)['opacity']-0.02; },30); // 定时器2实现字符串消失 window.setTimeout(()=>{ window.clearInterval(timer); body.removeChild(new_span); },1000); },false); </script> <hr /> </body> </html>
index
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <title>论文查询</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <style type="text/css"> * { margin: 0; padding: 0; } * { box-sizing: border-box; } /* body 样式 */ body { font-family: Arial; margin: 0; } /* 标题 */ .header { padding: 80px; text-align: center; color: #1c1c1a; font:24px "华文彩云"; background:url(https://img2.baidu.com/it/u=3353707289,3293241074&fm=253&fmt=auto&app=138&f=JPEG?w=704&h=500); background-size:cover; } /* 标题字体加大 */ .header h1 { font-size: 40px; } /*设置超链接样式*/ table { border-collapse: collapse; border-spacing: 0; } .zuo{ width: 100%; height: 1000px; border-radius:30px; border:10px solid #ffd222; display: inline-block; float: left; position: relative; color: black; font:24px "华文彩云"; background-color:#f3e65d; } p { font-size: 12pt; text-indent: 2em; font:24px "华文行楷"; } input{ outline-style: none ; border: 1px solid #ccc; border-radius: 3px; padding: 13px 14px; width: 620px; font-size: 14px; font-weight: 700; font-family: "Microsoft soft"; } button { /* 按钮美化 */ width: 200px; /* 宽度 */ height: 40px; /* 高度 */ border-width: 0px; /* 边框宽度 */ border-radius: 5px; /* 边框半径 */ background: #28eb0e; /* 背景颜色 */ cursor: pointer; /* 鼠标移入按钮范围时出现手势 */ outline: none; /* 不显示轮廓线 */ font-family: "幼圆"; /* 设置字体 */ color: white; /* 字体颜色 */ font-size: 17px; /* 字体大小 */ } button:hover { /* 鼠标移入按钮范围时改变颜色 */ background: #69fe55; } </style> </head> <body> <% Object message =request.getAttribute("message"); if(message!=null&&!"".equals(message)){ %> <script type="text/javascript"> alert("<%=request.getAttribute("message")%>"); </script> <%}%> <div class="header"> <h1>论文查询网站</h1> </div> <div class="zuo"> <center> <div align="center"> <h1>论文查询</h1> <p> </p> <p> </p> <p> </p> <p> </p> <div> <a href="insert.jsp">论文添加</a> </div> <p> </p> <p> </p> <div> <a href="delete.jsp">论文删除</a> </div> <p> </p> <p> </p> <div> <a href="update.jsp">论文修改</a> </div> <p> </p> <p> </p> <div> <a href="chaxun.jsp">论文查询</a> </div> <p> </p> <p> </p> </center> <center> <button type="submit" id="id_submit" name="nm_submit" value="提交">查询</button> </center> </div> <!--音乐--> <link rel="stylesheet" href="https://blog-static.cnblogs.com/files/elkyo/APlayer.min.css"> <div id="player" class="aplayer aplayer-withlist aplayer-fixed" data-id="7019693974" data-server="netease" data-type="playlist" data-order="random" data-fixed="true" data-listfolded="true" data-theme="#2D8CF0"></div> <script src="https://blog-static.cnblogs.com/files/elkyo/APlayer.min.js"></script> <script src="https://blog-static.cnblogs.com/files/elkyo/Meting.min.js"></script> <script type="text/javascript"> var body = document.getElementsByTagName('body')[0]; var textArr=["乐观", "❤" ,"积极", "向上", "自由", "正能量","(*^▽^*)", "元气满满", "开心" ,"快乐", "善良", "可爱", "暴富", "暴瘦"]; document.addEventListener('click',(e)=>{ // 生成字符串 var ev = e || window.event; var baseX = ev.pageX; var baseY = ev.pageY; var new_span=document.createElement('span'); new_span.innerText=textArr[parseInt(Math.random()*textArr.length)] new_span.style.position='fixed'; new_span.style.left=baseX-10+'px'; new_span.style.top=baseY+'px'; new_span.style.color='RGB('+parseInt(Math.random()*255)+','+parseInt(Math.random()*255)+','+parseInt(Math.random()*255)+')'; body.appendChild(new_span); // 定时器1实现字符串上升效果 var timer = window.setInterval(()=>{ new_span.style.top=parseInt(window.getComputedStyle(new_span,null)['top'])-2+'px'; // console.log(window.getComputedStyle(new_span,null)['fontSize']); new_span.style.opacity=window.getComputedStyle(new_span,null)['opacity']-0.02; },30); // 定时器2实现字符串消失 window.setTimeout(()=>{ window.clearInterval(timer); body.removeChild(new_span); },1000); },false); </script> <hr /> </body> </html>