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
Does jpa use jdbc?
What is @entity in java?
How do I receive a ResultSet from a stored procedure?
How can I write to the log used by DriverManager and JDBC drivers?
What is jdbc vs odbc?
How can you make a connection?
Why jdbc is used in java?
What are different types of JDBC Drivers?
What is preparedstatement in jdbc?
What are clob and blob data types in jdbc?
What is the jdbc rowset?
What is a jdbc driver and how many jdbc drivers are available?
What is the return type of class.forname() method?
Why resultset is used in java?
Why are we using blob datatypes in jdbc?