search.jsp

来自「java web开发技术方案宝典」· JSP 代码 · 共 41 行

JSP
41
字号
<%@ page contentType="text/html; charset=gb2312"%>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ include file="/view/setBasePath.jsp" %>
<html>
<head>
    <title>部门管理-查询</title>
    <base href="<%=basePath %>">
</head>
<body>
  <center>
      <html:form action="/mng/baseDate/mngBranch/search">
          <input type="hidden" name="op" value="search">
          <input type="hidden" name="actiontype" value="dosearch">
          <input type="hidden" name="searchtype" value="condition">
                    <table border="0" cellspacing="0" cellpadding="0"><tr><td align="right" colspan="3"><jsp:include page="operate.jsp"/></td></tr></table>              
              <table border="1" width="600" cellspacing="0" bordercolor="lightgrey" bordercolorlight="lightgrey" bordercolordark="white" rules="rows">
                  <tr height="50" bgcolor="#FFE380">
                      <td align="center">
                          查询类型:
                          <html:select property="subsql">
                              <html:option value="branch_name">部门名称</html:option>
                              <html:option value="branch_manager">部门主管</html:option>
                              <html:option value="branch_addr">部门地址</html:option>
                              <html:option value="branch_phone">部门电话</html:option>
                          </html:select>
                          关键字:
                          <html:text property="sqlvalue" size="35"/>
                          <html:submit value="查询"/>
                      </td>
                  </tr>
                  <tr height="30">
                      <td align="center">
                          <html:errors property="noSubSqlE"/>
                          <html:errors property="noSqlValueE"/>
                      </td>
                  </tr>
              </table>
      </html:form>
  </center>  
</body>
</html>

⌨️ 快捷键说明

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