hi all,

I am having 2 combo boxes in my jsp page.

one is of country and the other one is state.

when i select the country value all the states of that country need to come in statecombo from database.

any ideas please share with me.

Recommended Answers

All 2 Replies

Either you will send request to servlet to get all states from database and send respond back to caller page where in session you will carry list of states plus pre-selection for country combo box
Or use facilities of JSTL

thank you

i will check with JSTL.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.