aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Read Barcode value into a jsp text field Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Read Barcode value into a jsp text field" Watch "Read Barcode value into a jsp text field" New topic
Author

Read Barcode value into a jsp text field

Vijay K Bhore
Greenhorn

Joined: Jun 13, 2009
Posts: 2
Dear All,

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?

Thanks in advance,
Vijay Bhore
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42286
    
  64
Welcome to JavaRanch.

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).


Ping & DNS - my free Android networking tools app
Vijay K Bhore
Greenhorn

Joined: Jun 13, 2009
Posts: 2
Thanks a lot Ulf,

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: 42286
    
  64
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Read Barcode value into a jsp text field