Is there a reason you aren't using the
Struts <html:text> tag for this? If you simply write:
It will work. In case you didn't realize it, Struts does populate the value attribute automatically based on the current contents of the ActionForm bean, so specifying a value attribute is unnecessary.
If you insist on using the plain HTML <input> tag, it will also work if you change the name attribute from textfield2 to department.workchecDepartmentName. Struts uses the name attribute of an input to populate the ActionForm bean.
[ February 21, 2007: Message edited by: Merrill Higginson ]