troubleshooting Question

Dynamically populate textbox based on combo selection JDBC

Avatar of SarthakDudhara
SarthakDudhara asked on
Apache Web ServerJSPWeb Servers
3 Comments1 Solution549 ViewsLast Modified:
I am using a Tomcat Server and Building JSPs alongwith mySQL database and JDBC connector for the database.

Now, in one of the JSPs, I have a combo box from which the user can select a value. The combobox values are the values of the primary key field of a table in the database.
ON the same jsp, there are multiple textboxes which contain the values of other fields of the same table.

Here is what i want to do:-
When i select a value from the combobox, then the corresponding record should be fetched from the database and the textbox fields should be populated with the corresponding values from the database.

Please help me
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros