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