Hi........I need to create a dropdown box using
java.....this box should show the values that should be
taken from the database......
Thank you....
Answer / ketan
That is very basic question when one new face comes into
development side...
we have <select> tag in jsp and it's <option> tag for no of
options.
steps
1.get all string data in array or arraylist or any iterator
from data base..
2.write select tag in jsp(php/asp) page.
3.make one loop inside it. of array's length or size.
4. in between option tag's value as array's elements..
| Is This Answer Correct ? | 3 Yes | 0 No |
Give me some example for getting connection from connection pooling in JBoss Server. Is Connection Pool default in Server or we have to create it? Who can create Connection Pool in a Team. How it will be accessed by the developer code?
how you will execute the many tables data
How the information about db(database) can be retrieved?
what are the types of result sets in JDBC 3.0 ?
What are the differences between stored procedure and functions?
What is a rollback in jdbc?
How do we call a stored procedure from jdbc?
How to check jdbc connection in java?
What is the difference between client and server database cursors?
Are there any ODBC drivers that do not work with the JDBC- ODBC Bridge?
Is jdbctemplate thread safe?
What is resultsetmetadata?