看看Struts自己带例子的Logon.jap或者是JavaWebStudio的有关登陆的模板:http://dev.csdn.net/user/kui

解决方案 »

  1.   

    密码:<html:password property="userPass" styleClass="form" size="16" maxlength="6" redisplay="false"/>
    其中:
    styleClass是样式表
    redisplay=“false”密码不回显图片提交:<html:image src="ges/aboard.gif" >
      

  2.   

    密码:
    <html:password property="userPass" styleClass="form" size="16" maxlength="6" redisplay="false"/>
    其中:
    styleClass是样式表
    redisplay=“false”密码不回显图片提交:<html:image src="ges/aboard.gif" >
    提交:<html:submit>确定</html:submit>
    重置:<html:reset>取消</html:reset>