Jump to content
Changes to the Jaspersoft community edition download ×

Include html or jsp file


nightwatchftw

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Yes it is possible, you could just look for a jsp file that is always called when a report is called and include your code in there somewhere. 
You do not have to restart the server everytime you update the jsp page. Just save file and then refresh server page. 
Always remembe to make a copy of the original file, just in case you break code some where. 

These are some of the main jsp files for html structure. 
JASPER_INSTALL_PATH/apache-tomcatwebappsjasperserver-proWEB-INFdecorators

I have in passed include customer menu bar, include fontawesome icons, custom javascript code.

If you want to ensure your javascript gets loaded every time, try using the commonJSTLScripts.jsp
under JASPER_INSTALL_PATH/apache-tomcat/webapps/jasperserver-pro/WEB-INF/jsp/modules
 

Link to comment
Share on other sites

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