Hi,

Actually i m doin that only.But the application need is that the value of drop 
down should get populated from diferent bean.
Say i m getting selected value from form1 and setting it in form2 and then this 
value needs to be shown as a default value of drop down.

  


On Wed, 01 Feb 2006 Murugesan,Kathiresan(Cognizant) wrote :
>
>Hi,
>
>In your action class just set the value in the respective <html:select> 
>field's set method. It will automatically select the value.
>
>Regards
>Kathir.
>
>
>________________________________
>
> From: rahul kshirsagar [mailto:[EMAIL PROTECTED]
>Sent: Wed 2/1/2006 6:45 PM
>To: user
>Subject: html:select
>
>
>
>Hi,
>
>I am using <html:select> for drop down population.Now i want to populate 
>alreay selected value in the drop down when page is refeshed.The thing is i 
>have that value with me which is to be populated but i dont know how to set it 
>in <html:select>.
>I know it is possible using bean:write but dont have the syntax.
>
>If you have any way out ,please let me know.
>
>
>
>
>This e-mail and any files transmitted with it are for the sole use of the 
>intended recipient(s) and may contain confidential and privileged information.
>If you are not the intended recipient, please contact the sender by reply 
>e-mail and destroy all copies of the original message.
>Any unauthorized review, use, disclosure, dissemination, forwarding, printing 
>or copying of this email or any action taken in reliance on this e-mail is 
>strictly
>prohibited and may be unlawful.
>
>   Visit us at http://www.cognizant.com

Reply via email to