⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 displ-056.jsp

📁 分页标签
💻 JSP
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><%@ taglib uri="http://displaytag.sf.net" prefix="display" %><html> <head>    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />    <title>Displaytag unit test</title>  </head><body><%!  public class ValueBean {   public ValueBean(String value) {   this.value=value;   }   private String value;   public String getValue() {   return this.value;   }  }%><%  java.util.List theList = new java.util.ArrayList();  theList.add(new ValueBean("1"));  theList.add(new ValueBean("2"));  theList.add(new ValueBean("3"));  for (int i=0;i<3;i++) {    request.setAttribute("row" + String.valueOf(i),new java.util.ArrayList(theList));%><display:table uid='<%="row" + String.valueOf(i)%>' name='<%="row" + String.valueOf(i)%>' sort="list" >  <display:column property="value" sortable="true"/></display:table><% } %></body></html>

⌨️ 快捷键说明

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