输入文本字段的这两个表示之间的差异

时间:2014-02-21 17:44:07

标签: html html5 jsp input passwords

jsp中以下两个字段密码表示有什么区别?对不起,如果这是一个新手问题,但我差不多......!

<td class="inputtext">
      <html:password property="password"  size="25" redisplay="false" autocomplete="off"/>
</td>

<td class="inputtext" valign="top"><input type="password" name="string_2" size="30" autocomplete="off"/>  
</td>

1 个答案:

答案 0 :(得分:0)

<html:password...正在使用Spring框架抽象,Spring框架将在服务器端解析它,并将其转换为常规HTML以发送到浏览器。在浏览器中查看源代码,您会看到客户端的最终结果是<input type="password"...