Are you sure you changed the code at the right place. Your first post had the
following code, which i asked you to change:
TblCountryFacadeLocal myCountryBean = lookupTblCountryFacade();
| List myList = myCountryBean.findAll();
| int length = myList.size();
|
| for (int i = 0; i < length; i++) {
| TblCSCSubCategory region = (TblCSCSubCategory) myList.get(i) ;
| System.out.println((i + 1)+".
"+region.getStrName().toString());
| }
The code that you changed has something different:
| TblCountryFacadeLocal myCountryBean = lookupTblCountryFacade();
| List myList = myCountryBean.findAllCat();
| int length = myList.size();
|
| for (int i = 0; i < length; i++) {
| //TblCountry region = (TblCountry) myList.get(i) ;
| String country = (String) myList.get(i);
| System.out.println(country);
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979328#3979328
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979328
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user