i am doing my project in struts framework. My problem is that in one of my jsp page i have three select box for locationID , blockID and classID.I am adding the locationId dynamically from the database when the page loads for first time. Now my requirement is that when the user selects the location id then all the blockIDs under that locationID should be added into the blockID select box and after selecting a blockID the respective classID should be added into the classID select box.
Hope that you understand my problem so, please help me.
If you search the web for things like "dependent list box" or "linked list boxes" etc. you'll come up with a *lot* of examples; if you throw in the word "ajax" it'll cover the Ajax usecases as well.
If you have specific questions we're happy to help out--just show us what you're having a problem with. When I'm trying to solve a problem the first thing I do is try to decompose it into a lot of little problems.