Discussions

Web tier: servlets, JSP, Web frameworks: Displaying BarCode in JSP page

  1. Displaying BarCode in JSP page (5 messages)

    Hi All,

    We are having web based Order Managment J2EE application(JSP/Servlet) using weblogic server and Oracle 8 database.

    We have a new requirement in which we need to display
    Bar Code on JSP page for the user to print it for their use.?

    How to dynamically generate BarCode and display ?

    If any one has done similar work ,Please let me know
    the details.

    Thanks in advance.
    vds

    Threaded Messages (5)

  2. Displaying BarCode in JSP page[ Go to top ]

    Hi fdsfdf!

    Try http://www.idautomation.com/java/ . We've done some business with them, and they have good quality software, barcode fonts, and support. I highly recommended them.

    /Stefan
  3. Hello,

    We're having an issue where we have a "headless" Solaris 9 server, meaning, no video card is installed, and we get all kinds of exceptions when trying to use ANY bar code generation software (on the server), such as servlet, class, or bean.

    Any ideas out there how we can get around this?

    Right now, I have the code installed on a Windows server and Tomcat to run the barcode servlet. I then stream the barcode via servlet to the Solaris box and then stream it down to the browser.

    A HUGE hassle work around, but it works.

    I'd rather have some other way to generate the barcode to the user from our Production Solaris server by some other means.

    Sun Support is useless and simply said that cannot support code they did not write and offered no other solution.
  4. Hello David,

    I found this: http://forum.java.sun.com/thread.jsp?forum=20&thread=132877

    Seems to solve the problem using either -Djava.awt.headless=true, or using Xvfb for pre 1.4 and/or GUI stuff.
  5. Displaying BarCode in JSP page[ Go to top ]

    Try Barbecue project. I've got pretty good experience.

    http://barbecue.sourceforge.net
  6. Follow-Up[ Go to top ]

    After reading some of the links here, I was able to get a barcode generated using Krysalis, but only as a PNG. If I try any of the other formats such as .GIF, .JPG, .BMP, I get some exceptions of missing libraries.