Re: Tutorial questions

2007-04-05 Thread [EMAIL PROTECTED]
Thank you very much.. it is working. :) Ohsuria On Wednesday 04 April 2007 22:47, James, Steven wrote: > Well you need to cast the returned from the list to an appropriate type. > Therefore in your for loop do the cast like so > > out.println("Selected " + list.size() + " records."); > for (int i

RE: Tutorial questions

2007-04-04 Thread James, Steven
Well you need to cast the returned from the list to an appropriate type. Therefore in your for loop do the cast like so out.println("Selected " + list.size() + " records."); for (int i=0; i < list.size(); i++) { MyType obj = (MyType)list.get(i); out.println( obj.mymethod + ""); } --