2001 JI Open Discussion Posted August 14, 2006 Share Posted August 14, 2006 By: Michelle Popovits - mpopovits loadReport does not work in webapp 2002-01-31 13:21Teodor, Hi, I'm new to the Jasper Reports. It looks pretty interesting although I'm not sure it works too well in a j2ee webapp environment (correct me if I'm wrong). jasperReport = JasperManager.loadReport(fileName); It seems that the loadReport method does not accept reading the file from a webapp. Would it be possible to overload this method to accept an InputStream and allow getResourceAsStream() to get the file from within the webapp. public java.io.InputStream getResourceAsStream(java.lang.String path) -Michelle By: Teodor Danciu - teodord RE: loadReport does not work in webapp 2002-02-01 01:03 Hi, I think you are right. Working with streams would be more appropriate. I'm currently studying this possibility. Thanks, Teodor By: Michelle Popovits - mpopovits RE: loadReport does not work in webapp 2002-02-01 07:02Hi Teodor, I just modified the Jasper source to incorporate streams for loadReport to work in webapp (I'm still working on other problems). Do you want me to send you the modifications? Where? -Michelle Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now