Hi,
i have to display a barcode image in
JSP.
MY requirements are:
1. When page is loading barcode should be rendered based on some parameters passed.
2. JSP rendering is in diff module.
3. I have to write a utility method, which creates barcode image and returns image.
My questions are:
1. How to call a
java class method from src attribute of <IMG> tag.
2. I have a class which uses iText to create barcodes for pdf document. I can reuse the same method which returns java.awt.Image.
Is my approach right? or there is a better way of acheiving this easily.
regards
strive