一.部署
1.下載display-1.1-bin.zip,然後解壓縮。將displaytag-examples-1.1.war中的web/lib類包放入到自己的web應用的web-inf/lib目錄下,並將web-inf/classes中的displaytag.properties放入到自己web應用的web-inf/classes目錄下。
下載jar包的地址:http://displaytag.sourceforge.net/download.html
2.將displaytag-examples-1.1.war中的資源信息放入到自己的web應用中,位置在WebRoot下,需要的資源有,css文件夾、images文件夾、img文件夾。
二.使用
1.引入
在要使用displaytag標籤的頁面頂端,進行標籤的引入。
<%@ taglib uri="http://displaytag.sf.net"prefix="display" %>
本文出自 “狼圖騰”博客,請務必保留此出處http://baoxbstudy.blog.51cto.com/3769874/750505