Just like you did with the <bean:write>.

<html:text
      name="system"
  property="name"
      size="50"/>

Or am I missing something from your question?

Sri

-----Original Message-----
From: Chonalal, Anil (Contractor) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 26, 2003 9:02 AM
To: '[EMAIL PROTECTED]'
Subject: populating textbox with bean property


Hi, I am new to struts and just trying to find out how to populate a textbox with a 
bean property, for example I have the following:

<bean:write name="system" property="name" />

and would like the textbox value to be the name of the system:

<td><html:text property="" size="50"/></td>

does anyone know how to do this?

Cheers.

Anil

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to