如果在action中有一个实例变量user,user中有一个属性birthday
如果在jsp中想访问birthday,有两种方式
1.<ww:property value="user.birthday"/>
2.<%
String birthday=ActionContext().getContext().getValueStack().findValue("user.birthday");
%>
如果在action中有一个实例变量user,user中有一个属性birthday
如果在jsp中想访问birthday,有两种方式
1.<ww:property value="user.birthday"/>
2.<%
String birthday=ActionContext().getContext().getValueStack().findValue("user.birthday");
%>