Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想控制 as:textfield tag 中的字符数,
我知道输入类型中有属性,比如 maxlength 在 s:textfield 中是否有类似的东西
s:textfield 标记中也将使用相同的属性 (maxlength)。
请参阅下面的 struts 文档
http://struts.apache.org/2.0.11/docs/textfield.html