posted 15 years ago
Dear Ranchers,
In my project, I need a depenedent combo box, I have got some inputs from some websites and i designed like this. The codes are given below
MySQL database details are here
The values are populating well and fine. In the code I have created arraylist in test2.jsp and is sending to country.jsp file. When it comes to country.jsp the values looks like this, when I select Kenya in the country.
Again when I, split it into two different arrays, i will get in first array
[001] and in second [Mombassa]
When I populate the value in the second combo box, I am getting the square brackets also.
Please help me to avoid the brackets.
Thanks in advance
Regards
Aravind Prasad