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....



Hi........I need to create a dropdown box using java.....this box should show the values that shoul..

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

Post New Answer

More JDBC Interview Questions

What is the full form of jdbc?

0 Answers  


What is jdbc connection?

0 Answers  


What is JDBC ResultSet?

0 Answers  


can we create a own jdbc driver? how can we create?

1 Answers   HCL,


What type of drivers have you used?

1 Answers  






Explain about DSN?

0 Answers   Infosys,


What is com mysql jdbc driver?

0 Answers  


What do you understand by jdbc statements?

0 Answers  


What should be done for auto generating primary key id in a table ?

0 Answers  


Name the method, which is used to prepare a callablestatement.

0 Answers  


How many jdbc driver types are there?

0 Answers  


Is jdbc object oriented?

0 Answers  


Categories