I'm facing a problem ,in my code , that is designed to implement a CRUD operation .It makes use of two
tables domaintype and domain , the first one acting as a reference and the second acting as a list.My
screen consists of a dropdown and other fields .Also within the same screen ,I intend to populate a dynamic table that consists of entries made into the domain table , now this list is based on the respective domaintype of that domain .
Now ,i intend to display the list of domains depending on the selection in the drop down , imusing JS for this , however which ever domaintype is selected from the drop down , it shows only the list from the first domaintype and its corresponding list.
The code fragment of JS in jsp that I use for this is--
And the corresponding code that i execute within my servlet is.