Hi i am new to programming my client requirement is jsp has one drop down box contains all are countries and second drop down box contains all are states.If i want to select country from first drop down box corresponding states are display in second drop down box.please explain the coding style how can it.
As I had said in your previous post on this same subject, this is a common question that has been discussed many times.
Essentially, you can either repaint the whole page by posting back to the server to add the new data using JSP, or you can use Ajax to fetch the new data from the server and populate the secondary dropdown using JavaScript.