单独使用:
<html:text name="bean的名字" property="bean的属性"/>
和表单使用:
<html:form action="/与bean对应的action">
     <html:text property="bean的属性"/>
</html:form>

解决方案 »

  1.   

    当然没必要,只是struts的标签在刷新该页面时可以自动赋值,
    普通的是用value代替property属性
      

  2.   

    如果不用STRUTS的html标签库呢,怎么对应起来?
    比如用<input type="text"/>应该设什么参数呢
      

  3.   

    <form name="/bean的类名第一个字母小写">
       <input type="text" name="bean的属性名">
    </form>
      

  4.   

    多谢二位lip009(深蓝忧郁),guilin20(明月清风)