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 Posted / 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 |
Post New Answer View All Answers
What is the purpose of jdbc?
What is layer in communication?
What is JDBC Connection isolation levels?
Compare jdbc and odbc and how is jdbc required in this context.
What do you understand by jdbc statements?
What are the differences between stored procedure and functions?
What is the role of the jdbc drivermanager class?
How do I find ojdbc jar version?
What are restrictions on triggers?
What is CLOB and BLOB datatypes in JDBC?
What is meant by dao?
How a database driver can be loaded with jdbc 4.0 / java 6?
What is jdbc template?
What are the advantages of collection pools?
How does jdbc connect to database?