Results 1 to 2 of 2

Thread: Vector data should be placed in Drop Down box

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Answers
    1

    Vector data should be placed in Drop Down box

    My question is I have some data in vector or any collection consider as user names of users. Then I need that data (which is in vector) should be placed in DROP DOWN box of my JSP.

    How can i code this one.
    I will wait for your reply...


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: Vector data should be placed in Drop Down box

    I think you know how to get the data from Vector. After that it is easy to assign in dropdown.

    First get the total for number of data in vector. Then write the following for loop.

    Code:
    -----------------
    suresh


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact