title: parsing list of object in dwr
body: <p>I have a remote function testdwr, which returns a list of objects(test). How should i parse the list of objects in the handler method? Code shown below</p>
  
  <p>public List testdwr(String message) {
          Test test = new Test();
          test.setName("mahati");
          List arrayList = new ArrayList();
          arrayList.add(test);
          return arrayList;
      }</p>
  
  <p>handler method:</p>
  
  <p>function update()
  { findaccounts.testdwr("somestring : ",function(data){
  alert(data); }</p>
  
  <p>the alert box gives the output as "object Object"!!</p>