html:text property="ABoolean"输出是"on"

04-09-22 happycpa

<form-bean type="org.apache.stuts.validator.DynaValidatorForm">
 <form-property name="confirm" type="java.lang.Boolena"/>
</form-bean>

<html:text property="confirm">
输出的是 <input type="checkbox" vlaue="on"/>
如何让其输出true 或 false;
<p>

猜你喜欢