> My requirement: Prepopulate a form feild if value is present. > Can anybody help me in intializing a input feild using struts > custom tags?
The tags look for a corresponding property in the form bean, and take an initial value from that. For example, if this tag is in you JSP file: <html:text property="name"/> Struts will call the getter method "String getName()" in your form bean. Whatever that method returns will be the starting value in the text box. -- Tim Slattery [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]