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

Deployment to Tomcat


2005 IR Help

Recommended Posts

By: David - gdavej

Deployment to Tomcat

2004-11-20 19:12

I've created a main report with several subreports which will be called up by a web application developed with Struts. I'm deploying the app to Tomcat. Can anybody tell me where I should put the *.jasper files so they can be found by a java object.

 

 

 

 

By: Tim Riemann - octoate

RE: Deployment to Tomcat

2004-11-22 09:51

You can put them into WEB-INF/classes (and it's subdirectories) and load them with

InputStream getClass().getResourceAsStream("/fileinclasses.jasper")

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...