struts就是麻烦,不能这样写。javascript要加到配置文件中去

解决方案 »

  1.   

    MARK谁有这样的例子发过来一份,多谢
      

  2.   

    兄弟,onchange事件是肯定有的。
    <html:select property="xxCd" size="1" styleClass="select_box" style="width:90px"
                    onfocus="chgInputColor(this)" 
                    onblur="defInputColor(this)"
                    value="<%=xxCD %>" onchange ="doAction('month')" >
    </html:select>
    是可以成功的。
      

  3.   

    struts的tag在解析的时候只会将自己的属性解析出来,其他的储如:onchange, onfocus等html的内容会原封不动的放在生成的html静态网页里面,