`
文章列表
package com.tnt.util; public class PageUtil { private int currentPage;// 当前页 private int pageSize = 10;// 每页显示记录数 常量 private int totalRecord;// 总记录数 private int totalPage;// 总页数 private int firstPage;// 第一页 private int lastPage;// 最后一页 private int prePage;// 上一页 private int next ...
[color=black]package myfilter; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.se ...
1, Calendar calendar = Calendar.getInstance(); String now = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(calendar.getTime()); 2, String now = new SimpleDateFormat(("yyyy-MM-dd HH:mm:ss").format(new Date()); 3, String now = new SimpleDateFormat(( ...
Global site tag (gtag.js) - Google Analytics