This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
It's my first post on Java Ranch.
I am developing a web application in which we need to read barcode into a text field.
The bar code is present on a physical item e.g. a book
I am concerned about populating the bar code value into the text field.
Can anybody suggest me, what is the mechanism to read a barcode and populate into a text box in jsp?
Does it include any third party jar to achieve this?
You need a barcode scanner, and a piece of software that can interface with it, and which you can integrate with the web page. It depends a bit on your scanner hardware - some come with integration software, or at least documentation that explains how to interface with it.
In the web page, a signed applet may be a possibility, or an ActiveX control (which would limit this to Internet Explorer).
Your reply was well explanatory.
In the first case, if the barcode scanner has an inbuilt integration software will the jsp page automatically will be populated with a barcode value?
Thanks and Regards,
Vijay Bhore
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35443
9
posted
0
I suppose it's possible to build a driver for a barcode scanner that -upon reading a barcode- automatically looks for an open web browser, and then proceeds to populate certain fields (maybe according to a naming convention), but somehow I doubt that that's how they work.
The documentation of whichever scanner you're using can tell you more about the integration possibilities.