Jump to content
We've recently updated our Privacy Statement, available here ×

vpandya

Members
  • Posts

    6
  • Joined

  • Last visited

vpandya's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I have started working with Japsper Report and feeling very good.I have few questions. 1) Let's say I have a field 'Salary' and some where down the report I want the SUM of all the salary. Is it possible through some functionality. Is a function like SUM available in JasperReport? 2) Do we have check box element in Jasper Report lik textbox and image? It would be great if somebody can point to link/reference.
  2. You're correct. I have modify the code and now it works correctly. Thanks for your input. and you earned one karma. :) Code: Post Edited by vpandya at 07/04/2009 14:09
  3. I took a bird's eye view into JRImageRenderer class from source code and found below code snippet, Code: Here, imageLocation variable is of String type but If I have passed an object of InputStream then how come imageLocation variable would get initialized? Post Edited by vpandya at 07/01/2009 15:49
  4. Has anybody ever been able to display image on the report without saving it into local drive? I am working hard but no success since last three days. Various options to display image are net.sf.jasperreports.engine.JRRenderable java.lang.String java.io.InputStreamI have tried above three options. The second option works as I pass the path and image is stored in to local drive. But first and last option doesn't work. I get byte[] of image from database(blob --> byte[]) and I pass it to ByteArrayInputStream class. But it doesn't work. I have also tried JRRenderable option but no success. Can somebody tell me what am I missing? Code: PS : Size of imageByteArray is not zero. I have verified that. Post Edited by vpandya at 07/01/2009 15:09
  5. I guess you are missing the Jasper Report Jar file or if it is present then it's not on the class path.
  6. When I pass bais(ByteArrayInputStream),lr(JRRenderable) object reference as a parameter, it can't render the image rather it shows jasper report's default image. But when I pass fis(FileInputStream) object reference it renders the image correctly. Can somebody help me? Code: Post Edited by vpandya at 06/30/2009 17:33
×
×
  • Create New...