public class Counter { private int count; public Counter(){ count=0; } public int getCount(){ count++; return count; } public void setCount(int count){ this.count=count; } } WatchnetCounter This is Watch First page:counter1.jsp
The number of two page watched:
转载于:https://www.cnblogs.com/jgrs/p/7788079.html