开发者

struts 2 password preset value

i want set preset 开发者_StackOverflowvalue in struts 2 password tag, can anybody tell me advance for thanks


for presetting value of any component all you need to do is set value attribute to whatever value you want or keep the name attribute equal to the bean property name in the calling action. this works as the value attribute is set to the name attribute by default.

For password there is one other thing you need to do i.e- set showPassword attribute of password component to true. it will then show the password in the masked form

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜