日期:2014-05-16  浏览次数:20360 次

JSP用bean:write给隐藏变量赋值

<input type="hidden" value='<bean:write  property="roleName" name="roleForm" />' />
?

?

这是直接用struts标签的直接、简单的写法。

?

不需要再设一个attribute,然后再去取。

?

?

?