Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

object-base

  Asked By: Abbie    Date: Jun 20    Category: Java    Views: 812
  

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();

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on object-base Or get search suggestion and latest updates.




Tagged: