Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

dropdownbox Selection in jsp

hi everybody,

In jsp i have 3 drop down boxes are there (say country, state , district )

if i select country means , that coressponding states should populate in that

State dropdown box. , in the same way if i select state means that

corresponding districts must populate in the District drop down box....

so plese send me the ......


Former Member
Former Member replied


If it is a simple jsp then put the options tag in the while( loop.

e.g :




Or else...put in the arraylist and use a loop to that of the size of the arraylist.


for(int i = 0; i<= arr.size; i++ ){



If you use any of the two options it will work.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question