您的位置:首页 > 编程语言 > Java开发

struts自动赋值

2015-09-08 17:05 483 查看
private password;

public String getPassword() {

return password;

}

public void setPassword(String password) {

this.password = password;

}

<tr>

<td class="txtRight">密码:</td>

<td class="txtLeft">

<input type="password" id="pw" name="password" value="${(model.password)!}" maxlength="20" onblur="checkpw()" style="width:90%;">

<span type="text" id="pw_msg" class="font_red"></span>

</td>

<td class="txtRight">确认密码:</td>

前台提交后到对应domain自动赋值。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: