i use object-base communication between applet and servlet for reading data. when i use this code for using JTable, my applet doesn't appear.
is while((aa.getfirstname())!=null) is incorrect?
thanks very much.
Object[][] data = new Object[100][7];
user aa = (user)inputFromServlet.readObject();
int row=0;
while((aa.getfirstname())!=null){
data[row][0]=aa.getfirstname();
data[row][1]=aa.getlastname();
data[row][2]=aa.getusername();
data[row][3]=aa.getpassword();
data[row][4]=aa.getemail();
data[row][5]=aa.getaddress();
data[row][6]=aa.getgrade();
aa = (user)inputFromServlet.readObject();
row++;
}
inputFromServlet.close();