WebRoot/users/search.jsp

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" import="java.util.*,util.*" pageEncoding="gb2312"%>
<jsp:useBean id="array" scope="page" class="bean.AllBean"/>
<jsp:include flush="true" page="/users/top.jsp"/>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<script type="text/javascript">
function search()
{
	if(form2.title.value == "")
	{
		alert("请输入标题内容!");
		document.form2.title.focus();
		return false;
	}
	else
	{
		form2.action="users/search.jsp";
		form2.submit();
	}
}
</script>
<%
String message = (String)request.getAttribute("message");
	if(message == null){
		message = "";
	}
	if (!message.trim().equals("")){
		out.println("<script language='javascript'>");
		out.println("alert('"+message+"');");
		out.println("</script>");
	}
	request.removeAttribute("message");
%>
<body>
<table width="800" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="400" align="center" valign="top" class="border_left border_right border_bottom"><table width="50%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="5"></td>
        </tr>
      </table>
      <form action="" method="post" name="form2">
      	<table border="0" cellspacing="0" cellpadding="5" bgcolor="#B8F2F3">
          <tr>
            <td height="25" colspan="3" align="center">信息搜索</td>
		  </tr>
          <tr>
            <td height="25">类型:
              <select name="type">
            <option value="教员">教员</option>
            <option value="学员">学员</option>
            </select></td>
            <td>标题内容:<input type="text" name="title" size="30"></td>
            <td><input type="button" value="搜索" onclick="search()"></td>
          </tr>
        </table>
后面还有 39 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。