Hi all,
I have a fairly strange problem, and I have no idea what sort of framework I should be using,
Servlets look the most promising.
Situation:
I need to interface with an external TCP/IP device that is on the local network and can be connected to using hyperterminal (SSH) or by a socket connection for reading/writing ASCII.
I need to be able to read events from this device and on an event change content on an HTML page being served.
To date I have managed to open a socket to Hyperterminal (localhost) and write an ASCII
string to it by sumbitting a form to a
JSP page that extracts form data opens the socket writes the data and closes the socket.
I still have no idea how to read from the socket and alter the page as that would require the server app to be continuously running and then send a refresh command to the page with updated details? anyone know if that is possible and if security restrictions will even allow a socket connection to another machine on the network.
Any help would be appreciated. thanks