wood burning stoves
The moose likes Struts and the fly likes Hibernate and Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Hibernate and Struts" Watch "Hibernate and Struts" New topic

Hibernate and Struts

V Patil
Ranch Hand

Joined: Oct 04, 2008
Posts: 36
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

Joined: Sep 07, 2008
Posts: 689


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 Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
I agree. Here's the link: http://aspose.com/file-tools
subject: Hibernate and Struts
It's not a secret anymore!