Hi
I have a servlet that is connected to a midlet.
the midlet has its information from the database using the servlet by the response.getWriter().
this is a part of my code here:
PrintWriter out = response.getWriter();
while (!Types[i].equals(""))
{
out.println(Types[i]);
i++;
}
where Types is a String [ ] that contains the data from the database.
but an error is always showing, i guess it is because of the while loop.
can anyone tell me why is it showing?
Regards

Reply With Quote

