File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Create dropdown listbox menu Using JSP and AJAX control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Create dropdown listbox menu Using JSP and AJAX control" Watch "Create dropdown listbox menu Using JSP and AJAX control" New topic
Author

Create dropdown listbox menu Using JSP and AJAX control

rahulj rjagtap
Ranch Hand

Joined: Oct 20, 2010
Posts: 39
Hi everyone!!! I want to create an application for internal portal. here i have to create one dropdown listbox to select single elemnt using AJAX control . But i don't know anything about AJAX. In that listbox,listbox items are dictly fetched from databases tables. and i want to select only one item and save that selected in session to use that in further use.

Please, your suggestios are valuable to me. Thank you for your reply in advance.
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

rahulj rjagtap wrote:Hi everyone!!! I want to create an application for internal portal. here i have to create one dropdown listbox to select single elemnt using AJAX control . But i don't know anything about AJAX. In that listbox,listbox items are dictly fetched from databases tables. and i want to select only one item and save that selected in session to use that in further use.

Please, your suggestios are valuable to me. Thank you for your reply in advance.



What I could understand from your query- You want to have a dropdown list box, for which the data gets populated dynamically using Ajax. And then setting the value selected in the session for later use. Correct me if I misinterpreted your question.

I would say- Try to learn Ajax or go through some tutorial on Ajax. Otherwise any solution posted here would not make much sense. Once you go through the tutorial, am sure you would be able to code this down If you are stuck somewhere, do post your code, someone will be able to help you out with it.


Mohamed Sanaulla | My Blog
rahulj rjagtap
Ranch Hand

Joined: Oct 20, 2010
Posts: 39
Thank you for your suggestions. Yes, you have understood my question.
Thank you for your help.
I will try to learn ajax. I fi have more difficulty, i will catch this forum again.
 
jQuery in Action, 2nd edition
 
subject: Create dropdown listbox menu Using JSP and AJAX control
 
Similar Threads
JSON response to populate listbox
populate a drop-down listbox
How to select multiple options in Listbox using Javascript?
Best Approaches
How to create an action listner?