views:

129

answers:

1

In a jee web application, I need to read data from barcode scanner(connected to the user's machine - client side),display the data in a textbos and send the code back to the server.I think I understood how to do it.

Is it possible to detect whether the scanner is connected/turned on and if not, display a warning in the web page that the scanner is not connected? (using some activex controls or any other method)

+2  A: 

When I did this I simply used a textfield to capture the input from the scanner. Why do you need to detect the scanner?

Viktor Klang
@Victor - Per requirement, we need to check whether the scanner is active or not and accordingly notify the user in the web page. I agree that this may not be standard one. Kindly advise whether it is possible to do that
coolguy
No, I don't believe you can.
Viktor Klang