Hi Jaikiran,
Have tried your advice on:
String country = (String) myList.get(i);
I have changed my code to:
for (int i = 0; i < length; i++) {
| //TblCountry region = (TblCountry) myList.get(i) ;
| String country = (String) myList.get(i);
| System.out.println(country);
| }
But it return an error. The error is:
java.lang.ClassCastException: [Ljava.lang.Object;
| crm.ui.servlets.CountryBean.processRequest(CountryBean.java:46)
| crm.ui.servlets.CountryBean.doGet(CountryBean.java:70)
|
Thankz in advance :)
Keith
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979309#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...