Hello, can I use listeners in a jsp page? If not, is there any command that makes a jsp wait for some time before proceeding to the next command?
The case is that I want my jsp to read a variable of another class which gathers data from a device. However, I can't know when the device has stopped sending data to the class. I know only what the last character will be(so I could use a listener here) or I can guess how much time it will take for the device to send the data (so I could use a sleep command).