Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to update and retrieve values of HTML Listbox for and from Oracle Table

Posted on 2008-10-31
2
Medium Priority
?
934 Views
Last Modified: 2013-11-24
Hi friends ,
I have one HTML listbox(multiple list) in my project ,in which I'm using JSP as server side programming and oracle as database. I like to update this listbox with the entries of my one oracle table by using Java and later want to update oracle table with the items of that listbox. Could you help me how I can do that by using Java/JSP/Javascript?
0
Comment
Question by:hsperhar
2 Comments
 
LVL 26

Accepted Solution

by:
Tomas Helgi Johannsson earned 200 total points
ID: 22851034
     Hi!

Take a look at these examples:
http://www.java2s.com/Code/Java/JSP/Database.htm
This example here
http://www.java2s.com/Code/Java/JSP/SelectingrecordswithconditionFromaDatabase.htm
shows how to retrieve data from database and write it out into an HTML table which you could easily
change to a HTML listbox. :)
Other java-database examples to look at
http://www.java2s.com/Code/Java/Database-SQL-JDBC/Oracle-JDBC.htm
http://www.java2s.com/Code/Java/Database-SQL-JDBC/CatalogDatabase-SQL-JDBC.htm
http://www.java2s.com/Code/Java/Servlets/Database.htm

Hope this helps. :)

Regards,
   Tomas Helgi
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question