In the options for the list box, your code will look something like this:

<option value="05" <%= (hmonth_s.equals("05")) ? "selected" : "" %>>May
</option>

-----Original Message-----
From: kavitha ramasamy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 10:56 AM
To: [EMAIL PROTECTED]
Subject: setting the list value to the bean


Hello,

   I have list box in my page. If i choose that value(on click), I need
to call javascript function where I am getting the chosen list field value.

  I need to set the selected list value to the my bean variable in the same
page.

  How can I do this.

Any help,

Kavitha

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to