Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-10-31
2
Medium Priority
?
929 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 25

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

Use Filtering Commands to Process Files in Linux

Learn how to manipulate data with the help of various filtering commands such as `cat`, `fmt`, `pr`, and others in Linux.

Question has a verified solution.

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

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

721 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