jsp通过自定义标签库实现数据列表显示的方法(2)

package com.yanek.cms.vo; public class UserInfo { private int age; private String userName; private String email; public int getAge() { return age; } public void setAge(int age) { this.age = age; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public UserInfo(String userName,int age, String email) { super(); this.age = age; this.userName = userName; this.email = email; } public UserInfo() { } }

运行效果如下图 (URL输入::8080/TestCMS/page/userlist.jsp)

jsp通过自定义标签库实现数据列表显示的方法

完整实例代码代码点击此处本站下载

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wzfyjx.html