• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP cascading dropdown

 
Alexander Brank
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello nice people,
I am new here and i look forward to participate in your forum. My question is about cascading dropdown in jsp with 2 dropdowns, where the second dropdown is based on selected value of the first. I am new to ajax,json,jquery,js and i can't fix the problem. Any help will be highly appreciated.

My servlet code:



My JSP:



...............

  

........................................

The problem is that Gson can't handle circular references in the serialized data. I will be thankfull for any help or suggestions.

Best Regards, A.Brankov
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65531
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No JSON engine can handle circular data; you'll need to restructure the data to a deterministic hierarchy.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!