me_vsoundar Posted April 29, 2010 Share Posted April 29, 2010 Hello,I've a problem when place the jasper files outside the project.Consider,If I use the jasper in Struts2 applications and the masterReport jasper (consider Master1.jasper) be placed inside the webcontent, then it is working fine.(I tell the location as a relative path in the struts.xml file.)Suppose, if i want to place the jasper files outside of my web application, i.e other Drive. Now i want to run my application with the template which was placed outside..What to give the location in my "struts.xml"...?And, How i indicate the relative path instead of "absolute path" in my master Report. Is it possible to give the relative path.? ../../../themes/jasper/images//tools/forum/arrow.gif Soundararajan V Post Edited by me_vsoundar at 04/29/2010 05:36 Link to comment Share on other sites More sharing options...
dnvsrikanth Posted May 1, 2010 Share Posted May 1, 2010 Hi me_vsoundar, Create an environment variable pointing to the location of all jasper files and use that environment variable in your application to get the location of the jasper file. DNV SrikathPost Edited by dnvsrikanth at 05/01/2010 05:21 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