Triggering events after scanning text with a scan gun

Hi all:

Here is my problem. I have a simple jsp page with a text field. I have a wedge scan gun plugged into the back of a computer. When I scan some information, it appears in the text field, however, I want to perform a submit after the user has scanned the information. Is there any event that I may capture that will alert me that the user has finished scanning the field so it could submit automatically?

Thanks for your time.

Sincerely,

Andy

[485 byte] By [ajpapada] at [2007-9-26 3:25:38]
# 1

There is usually a setting in the wedge to have it send an Enter after each successful scan. I am not that familar with HTML, but there is a way to have the Enter key automatically press a button or something and submit the page. If you are going to fill in multiple fields with the wedge then you would be better served with an applet that comunicated with the servlet so you would have better control.

Complication at 2007-6-29 11:46:40 > top of Java-index,Archived Forums,Swing...
# 2
jswinth is correct.Just add a single submit button to the page, itshould work as a defaultSpieler
spieler at 2007-6-29 11:46:40 > top of Java-index,Archived Forums,Swing...