Re: bean method don't make function in Struts2

2006-12-19 Thread Laurie Harper
red phoenix wrote: I use struts2 ,like follows: ---SimpleCounter--- package test; public class SimpleCounter{ String foo; public void setFoo(String foo){ System.out.println("set foo="+foo); this.foo=foo; } public String getFoo(){ System.out.println("get foo="+foo); return foo; } } ---test.

bean method don't make function in Struts2

2006-12-19 Thread red phoenix
I use struts2 ,like follows: ---SimpleCounter--- package test; public class SimpleCounter{ String foo; public void setFoo(String foo){ System.out.println("set foo="+foo); this.foo=foo; } public String getFoo(){ System.out.println("get foo="+foo); return foo; } } ---test.jsp--- <%@ taglib ur