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

Using java.io.InputStream as a parameter


meatwad

Recommended Posts

I have a subreport with the class set to InputStream and the expression set to parameter X. When I set X with the expression:

 

new FileInputStream("subreport.jasper")

 

I get a java.io.EOFException. If I take the same expression from parameter X and place it directly in the subreport expression it works. What am I doing wrong here?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...