jeudi 29 mai 2014

données entre java et javascript dans servlet - Stack Overflow


i am really desperate for this solution. Following is my simple java class. This java program produces data like ABCD, XYZ etc time to time. I have java servlet class. Now I want to create web application using javascript. I want to pass this data from this java class to java script web application through servlet instantly. It has to appear on the web application immediately as the java class transfers this. Is it possible ?? If possible how can i do this ? What things I need to include? Please help me , i will really appreciate this. Thank you.


import something.....;
import something1....;

public class demo {

public static void main(String[] args){
......ABCD...
...XYZ....
}
}


i am really desperate for this solution. Following is my simple java class. This java program produces data like ABCD, XYZ etc time to time. I have java servlet class. Now I want to create web application using javascript. I want to pass this data from this java class to java script web application through servlet instantly. It has to appear on the web application immediately as the java class transfers this. Is it possible ?? If possible how can i do this ? What things I need to include? Please help me , i will really appreciate this. Thank you.


import something.....;
import something1....;

public class demo {

public static void main(String[] args){
......ABCD...
...XYZ....
}
}

0 commentaires:

Enregistrer un commentaire