aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Hibernate and Struts" Watch "Hibernate and Struts" New topic
Author

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: 684

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


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
 
Similar Threads
JSF table
How to use inner join with hql query
Rich Faces 4.0 Autocomplete
multiple responseText
Java ArrayList into Name value pair