设置属性值<jsp:setProperty name=”haha”,property=”haha的属性” value=”变量值”/>
< jsp:setProperty name=”haha”,property=”*” />获取从上一个表单中提交过来的,与Bean中变量名字相同的所有属性.
取得属性值:<jsp:getProperty name=”haha” property=”bean的属性”/>
相当于:<%=getA()%>
设置属性值<jsp:setProperty name=”haha”,property=”haha的属性” value=”变量值”/>
< jsp:setProperty name=”haha”,property=”*” />获取从上一个表单中提交过来的,与Bean中变量名字相同的所有属性.
取得属性值:<jsp:getProperty name=”haha” property=”bean的属性”/>
相当于:<%=getA()%>