> private Hashtable[] getStuff() {
>   Vector stuff = new Vector();
>   Hashtable ht = new Hashtable();
>   ht.put("A", "Stuff A");
>   ht.put("B", "Stuff B");
>   stuff.add(0, ht);
>   return (Hashtable[]) stuff.toArray();
> }

Try exchange "return (Hashtable[]) stuff.toArray()" with:
"return (Hashtable[]) stuff.toArray(new Hashtable[0])" It should do the trick.

        Cheers, Bip

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to