。。。。/s:if
“published”在action里是一个boolean型,在jsp,当其值为false(或非true)时进入一段逻辑。怎么实现?上面这段code是当“published”为true时进入一段逻辑。
直接取反“!”
[code="html"]。。。。/s:if[/code]
建议用jstl c标签。
直接取action中的属性好像要加上#