• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read Barcode value into a jsp text field

 
Vijay K Bhore
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Vijay K Bhore
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic