how to make field editable false while using Structs

Discussions

Web tier: servlets, JSP, Web frameworks: how to make field editable false while using Structs

  1. hi,

    i want to make this field editable false.

    <html:text property="ef.autoempno" size ="30" value="<%=emp.getAutoempno()%>" maxlength ="10" />

    can anyone plz tell me.

    regards
    sukhbir
  2. <html:text property="ef.autoempno" size ="30" value="<%=emp.getAutoempno()%>" maxlength ="10" readonly="true"/>