| Author |
accessing database using javascript
|
Krishna Acharya
Greenhorn
Joined: Jun 05, 2007
Posts: 29
|
|
I have one drop down box(with some values) in a jsp page. I would like to access the database table and display on the jsp page using the selection from the drop down box. How can I do this ??? for hint: sql would be like: SELECT * FROM <table name> WHERE <column name>=<value selected from drop down box>. Thanks so much to you who is giving me answer. Please...
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56554
|
|
You can't. You'll need to go back to the server to execute the JDBC (or other database access) code there. One convenient way to do with without having to submit the whole page is with Ajax.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: accessing database using javascript
|
|
|