你这里的<html:是自定义的?

解决方案 »

  1.   

    你这样写肯定是不行的。<html:text>你用的是标签库,<jsp:getProperty>你又用JSP的标签,任何两种标签是不能镶套的。
      

  2.   

    这样写肯定是不行的
    <html:text value ="<%=addressbook.getname();%>" property="name" size="25" maxlength="25"/>
      

  3.   

    那如果我想把<html:text>的值设为一个默认值,该怎么办?
    如:
    <% AddressBookBean addressbook = new AddressBookBean(2); %>
    <html:text value = '<%=addressbook.getId()%>' property="address" size="25" maxlength="50"/>
      

  4.   

    <html:text>是struts的标签库