Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate and Struts

 
V Patil
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
using hibernate Arraylist is returned by logic class and in that arraylist data for state and city both is present.
now i want distinct data to be displayed in jsps and according to onchange of state i want to display city names.
 
Nishan Patel
Ranch Hand
Posts: 689
Eclipse IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi..

If you get ArrayList with both city and state then it is not possible to differentiate onchange select box.

You have to use AJAX for select Country then onselect get list for state.

Thanks,
Nishan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic