Click here to Skip to main content
15,740,826 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
bonjour je developpe une page web qui à pour objectif d'administration réseau en Jsp/Servlet , j'ai une tache qui consiste à afficher l'adresse ip d'une machine instantannement dés que cette machine se connecte sur le réseau, j'utilise la notion Client/serveur pour ça, mais mon probleme est que j'arrive pas a faire l'affichage en Jsp des resultats instantanement, ça veut dire dés qu'une machine connecte son adresse s"ajoute automatiquement dans le tableau de ma page jsp.
merci de me repondre ;);)

Google Translation:
Hello I develop a web page that aims to network administration in JSP / Servlet, I have a task that is to display the IP address of a machine instantly as soon as that machine connects to the network, I use the concept client / server for that, but my problem is that I can not make a display in the JSP results instantly, that means as soon as a machine connects s address "automatically adds the table in my jsp.

[Note to OP: This is an english speaking site.]
Updated 26-Apr-10 2:21am

1 solution

You will have to impliment some for of polling from the client page. You probably don't want to autorefresh the entire page every time so you can use a call to the server to see if anything has changed and THEN refresh.

This is the idea behind RSS.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900