
Hi,
I retereved 5 Employee Record of Data from Struts Action class to jsp with ajax response. But I don't how how can reterve this dynamic 5 employee records to struts action class.
Plese tell me how to send this 5 employee record table into struts action.

import java.applet.*; import java.util.*; import java.awt.*; public class clock extends Applet implements Runnable{
Thread t;
int Q=89,R=89,S=88,c=0,d=0;
public void start(){
if(t==null){
t=new Thread(this);
t.start();
}
}
public void stop(){
if(t!=null)t=null;
}
public void paint(Graphics g){
g.setColor(Color.black);
g.drawOval(20,20,300,300);
g.fillOval(165,160,10,10);
g.setFont(new Font("Helvetica",Font.BOLD,12));
g.drawString("12",158,30);
g.drawString("3",311,162);
g.drawString("6",161,320);
g.drawString("9",23,162);
g.setColor(Color.green);
g.fillArc(25,25,290,290,Q,2);
g.setColor(Color.blue);
g.fillArc(30,30,280,280,R,2);
g.setColor(Color.red);
g.fillArc(35,35,270,270,S,4);
}
public void run(){
while(true){
repaint();
Q-=6;
c++;
if(c==60){
R-=6;
c=0;
d++;
if(d==60){
S-=6 ;
d=0;
}
}
try{Thread.sleep(1000);
}catch(InterruptedException e){}
}
}
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.