title: using Vector and Hashtable as a bean for dwr
body: <p><br>
  I want to write a DWR function that prepares a Vector of Hashtable's and returns to the javascript and there in javascript i need to iterate a Vector and print the content of Hashtable.</p>
  
  <p>My DWR function is:</p>
  
  <pre><code>public Vector getEmployeeData() {
     Vector employeeData = new Vector();
     // some other content to prepare vector
  
     return employeeData;
  }
  </code></pre>
  
  <p>And i have configured dwr-servlet in web.xml properly and content in dwr.xml  is:  </p>
  
  <pre><code>&lt;create creator="new" javascript="Employee" scope="script"&gt;
    &lt;param name="class" value="com.test.DWREmployeeManager"/&gt;
  &lt;/create&gt;
  &lt;convert match="java.util.Hashtable" converter="bean"/&gt;
  &lt;convert match="java.util.Vector" converter="bean"/&gt;  
  </code></pre>
  
  <p>But my problem is when i called this dwr method from javascrit i am getting empty array as a result to the dwr call-back function.</p>
  
  <p>Can anybody suggest the solution for this problem..</p>