• λ我爱Aspx >> C#.Net >> jsp 自定义分页标签_JSP技巧
  • jsp 自定义分页标签_JSP技巧

  • :aspxer  Դ:internet  :2007-4-28 23:45:20  ؼ:
  • <?xml version="1.0" encoding="utf-8" ?>

    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">

    <taglib>

    <tlib-version>1.0</tlib-version>

    <jsp-version>1.2</jsp-version>

    <short-name>numen</short-name>

    <!--OutputTag-->

    <tag>

    <name>out</name>

    <tag-class>cn.cityyouth.util.NumenTag</tag-class>

    <body-content>empty</body-content>

    <attribute>

    <name>url</name>

    <required>true</required>

    <rtexprvalue>true</rtexprvalue>

    </attribute>

    <attribute>

    <name>result</name>

    <required>true</required>

    <rtexprvalue>true</rtexprvalue>

    </attribute>

    <attribute>

    <name>params</name>

    <required>false</required>

    <rtexprvalue>true</rtexprvalue>

    </attribute>

    </tag>

    </taglib>

    3.js

    <%@ page contentType="text/html; charset=utf-8"%>

    <%@ include file="/common/taglibs.jsp"%>

    <%@ taglib uri="/WEB-INF/numentag.tld" prefix="n"%>

    <html>

    <head>

    </head>

    <body>

    <table>

    <tr><td>

    <n:out url="test.do" result="result" params="${type}"/>

    </td></tr>

    </table>

    </body>

    </html>

    http://blog.csdn.net/numen_wlm/archive/2007/01/30/1497778.aspx

    Ҷƪл˵?
  • һƪ在Oracle中实现搜索分页查询_数据库技巧
    һƪ数据库的分页问题_数据库技巧