send array[] from servlet and midlet
I want to have a simple servlet that base on a midlet request, to send a string[] back to the midlet.
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
String[] mylist;
response.setContentType("text/html");
String id = response.getParaneter("id");
if (id.length>0 && id!=null){
mylist = listname(id);
}
PrintWriter out = response.getWriter();
}
private string[] listname(trinf id){
}
}
how can I get my string[] to my midlet?
Thanks for any insight and response.

