This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate and Struts

 
V Patil
Ranch Hand
Posts: 36
  • 0
  • 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
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic