你在checkbox属性里找找,或者去在线帮助里面看看
帮你up

解决方案 »

  1.   

    <input type="checkbox" name="pass" value="true" checked />
      

  2.   

    1。 public ActionForward execute
    里直接set你的forumBean只的 初始值。
    2。或者在struts-config.xml里社定你的initial属性
      

  3.   

    <input type="checkbox" name="pass" value="true" checked />
    这就是选中的checkbox
    <input type="checkbox" name="pass" value="true"/>
    这就是没选中的checkbox.
      

  4.   

    用checkbox好想不行,可以用<html:multibox/>来代替checkbox..
    再action中调用actionform中的set函数设置初始值,然后传到jsp中,jsp自动选中
    你要的checkbox..
    即使你的jsp页面中只有一个checkbox也可以用<html:multibox>来代替。
      

  5.   

    楼上的说得对。。用<html:multibox/>来代替checkbox