Hi Ugur,
thanx for your help but i think I have got the answer to my problem. Thanx anyway.

Yogesh

IMRglobal Ltd.
Plot # 22, SEEPZ,
Andheri (E), Mumbai-400096
Phone  : 8291421 Ext. 151
Mail To : [EMAIL PROTECTED]

>>> Ugur Serkan Taskin <[EMAIL PROTECTED]> 06/26 6:50 AM >>>
Could you please define what you really want to do? I mean indeed if you have a form 
with a submit button on it, when the submit button is pressed, all the name-value 
pairs are sent to the servlet pointed to by the action part of the form. So dropdown 
menus are not different from the text fields in the manner their value is sent to the 
servlet and parsed with the request.getParameter() method. If you can be more 
specific, I can send an example...

ugur serkan
  ----- Original Message -----
  From: Yogesh Agarwal
  To: [EMAIL PROTECTED]
  Sent: 24 Haziran 1999 Per�embe 13:01
  Subject: Listbox value - Please Help


  Hi all,
  I have a problem and I am stuck with it for quite sometime now. I am using JDBC in 
servlets and I have a drop down menu where the options are read from the database. Now 
I want to read the selectedIndex from the drop down menu and use it as a key to 
retrieve data from the tables. I am not able to figure out how do I read the 
selectedIndex in a servlet. Any detailed help is appreciated.

  TIA
  Yogesh

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to