【发布时间】:2018-08-17 14:41:29
【问题描述】:
目前我们正在将 Struts1 应用程序迁移到 Struts2。在将 JSP 标签更改为 Struts2 时,我们在 Struts1 中为html:text 有属性
autocomplete=\"off"
禁用文本框的自动填充。
但是,当我尝试为 s:textfield 和 s:password 添加相同内容时,它会发出警告,例如 "Undefined attribute name 'autocomplete'"
我需要在 Struts2 中使用哪个属性?
【问题讨论】:
标签: jsp struts2 migration textfield struts-1