delete.jsp~28~
资源名称:JSP02.rar [点击查看]
上传用户:top0756
上传日期:2022-08-11
资源大小:6501k
文件大小:1k
源码类别:
Jsp/Servlet
开发平台:
VBScript
- <%@page contentType="text/html;charset=gb2312"%>
- <%@page import="java.sql.*"%>
- <HTML><head><SCRIPT language="JavaScript">
- function a() {
- if(form1.keywords.value==""){
- alert("输入不正确,请重新输入");
- form1.keywords.focus();
- return false;
- }
- return true;
- }</script>
- </head>
- <BODY background="img/bg2.jpg">
- <%
- Connection conn = null;
- Statement stmt = null;
- ResultSet rs = null;
- request.setCharacterEncoding("GBK");
- String str = request.getParameter("keywords");
- if( str == null)
- str = "";
- %>
- <br><br>
- <FORM name="form1" Action="delete_form.jsp" Method=POST>
- <table width="100%" cellspacing="0" cellpadding="4" rules="all" bordercolor="#CC9966" border="1" id="dg_rxkb" style="background-color:White;border-color:#CC9966;border-width:1px;border-style:None;width:99%;border-collapse:collapse;">
- <tr bgcolor="fcd56c"><td colspan="2" height="40" ><font color="000000" size="5"><div align="center">删除成员</font></td></tr>
- <tr ><td><font color="000000" size="3">输入姓名关键字:</td>
- <td><INPUT Type="Text" Name="keywords" Value="<%=str%>"></td></tr>
- <tr bgcolor="fcd56c"><td height="35" colspan="2"><div align="center"><INPUT onclick="return a()" Type=Submit Value=" 删除"></td></tr></table><br><br>
- </FORM>
- <TABLE border="0" width="90%" align="center">
- <tr>
- <td height="30"></td>
- </tr>
- <tr>
- <td height="20"></td>
- </tr>
- <tr>
- <td align="center"></td>
- </tr>
- </table>
- </BODY></HTML>