Hi all

I've after 'a best way of doing' answer

I have a method that retruns reults from a database table in the format of a TableModel

But when i do my call.invoke on this method it fails with a '(500)Internal Server Error'

My snippet of code is this

TableModel model = (TableModel)call.invoke(new Object[]{"stringtopass"});

My method the call makes returns this new DefaultTableModel(rows, columnNames);

What would be the best way to return a resultset to the client call? Would an arraylist be better?

Thanks for any help

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters

Reply via email to