A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Hibernate and Struts
Joined: Oct 04, 2008
Oct 06, 2008 06:57:00
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.
Joined: Sep 07, 2008
Oct 06, 2008 21:56:00
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
I agree. Here's the link:
subject: Hibernate and Struts
Rich Faces 4.0 Autocomplete
Java ArrayList into Name value pair
How to use inner join with hql query
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014