Hi All : I have a request which contains parameters and response will give barcode image. We are using Comergent frame work.
<img src="../direct/bestbuy?cmd=BBFBGenerateBarCode&type=code128&msg=12345&fmt=JPEG&height=10&hrsize=5pt" alt="Barcode" width="166" height="44">
The above will go the controller "BBFBGenerateBarCode" and execute the corresponding java class "BarCodeGenerator.java" which will create barcode image and return image in response.
Problem i am facing is, i need to display this image in two things. One is Print page and another in email. If i use the above code in Print.jsp, the request get processed and goes to BarCodeGenerator.java class(i have used system.out.println() in BarCodeGenerator.java) and create image and displaying in printpage But if i use the above image tag in confirmemail.jsp(will send email to user), request is not processing and i cant able to see the image in mail. Please help me.