<html:link>标签<html:link page="/action.do" paramId="booleanProperty" paramName="testbean" paramProperty="abc"> Boolean via paramId, paramName, and paramValue </html:link>
testbean一定能在 (page, request, session, or application)中被找到,否则会报错。
abc一定是testbean的一个属性。而paramId="booleanProperty" 就无所谓了。
本文介绍Struts2框架中html:link标签的使用方法,详细解释了如何通过page、paramId、paramName及paramProperty等属性设置链接,并强调了testbean对象及其属性在链接配置中的重要性。
867

被折叠的 条评论
为什么被折叠?



