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自动赋值。
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自动赋值。
相关文章推荐
- Java 条件表达式结果类型不一致问题
- Struts2学习之Action接收参数方法二(用DomainModel接收参数(模型驱动))
- spring 之AOP 和继承方法
- maven系列--eclipse的m2插件
- maven系列--eclipse的m2插件
- java中&和&&
- spring中的注解
- java 长整除问题
- spring_150905_sqlmapclient
- 把一个字符串转换成int类型(Java实现)
- Spring事务的传播行为和隔离级别
- JAVA SE 基础复习-基本程序设计(1)
- java web流量检测与解决方案
- struts2,hibernate4,spring3配置时问题汇总及解决办法(架包导入问题)
- Java sleep和wait的区别
- [转]Spring MVC 事务配置
- spring_150904_hibernatetemplate
- java接口开发的的注意事项
- 员工案例增删改查
- JAVA学习——RandomAccessFile