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

Accessing .jasper file from inside EAR file


Recommended Posts

By: Rizwan - rizmerc

Accessing .jasper file from inside EAR file

2003-09-18 19:41

 

Hi,

I am packaging my .jasper file inside a .war file and the war file is inside a EAR file. I would like to access the .jasper file from one of the Action classes (which ofcourse is packaged in the EAR file too).

Please could someone tell me how I can access the .jasper file.

 

Thanks.

 

 

 

 

By: Rizwan - rizmerc

RE: Accessing .jasper file from inside EAR file

2003-09-19 11:34

 

got it!

 

use getResourceAsStream() and use the InputStream returned.

Link to comment
Share on other sites

  • Replies 0
  • 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...