1 Reply Latest reply on Nov 14, 2007 5:34 AM by JKohn99

    select user names form database from flex

    mornglory
      Hi all,

      I have a jsp page as a UI in my project. Now we are changing the whole UI part of the project with flex. In this jsp page, I have a username field whose values are retrieved from datastore and displayed using HTML 'Select' Option. I will select one of the user and click a button which will send a request to back end java class to reset the password set for this user.

      In this JSPpage the user names are retrieved as follows

      DataStore datastore=new DataStore(SubmissionContext.dbConfigPath);
      ArrayList Usernames=datastore.getUserNames();

      Datastore is again a Java class to written to retrieve names form database.

      Now I need to develop this page in flex... How do i get all the usernames in the database into my combo box. can i import the same java class into my flex applicaton. But the pbm is the project is completely Java based. How can i import these java files into flex project. I am building my project using flex builder.

      Urgent..plz /..it would be of great help if somebody could suggest some solution..

      Thanks
      aruna