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

web services: help with the reportimage servlet, jasperPrintName and jrprint


kburns

Recommended Posts

From looking at the regular jasperserver interface, I know the servlet is located at:

/jasperserver-pro/reportimage?jrprint=1288466012_1306878828078&image=px

What is the jrprint parameter? Where does it come from?

I do not have any images in my reports. At the moment I am only concerned by the 1x1 pixel shim gif. That is being used to fill in white spaces and keeps causing a bunch of broken image links.

I have been digging through the server source code and see it referenced as:

<js:jasperviewer    imageServlet="${pageContext.request.contextPath}/reportimage?jrprint=${jasperPrintName}&"    page='${requestScope.page}'    jasperPrintAttribute="${jasperPrintName}"    innerPagination="${showPagination}"    ignorePageMargins="${ignorePageMargins}"    renderJsp="${requestScope.reportDisplayForm}"/>

Here it is referenced as jasperPrintName, but there is no explanation in the code as to where it is defined. Any ideas?

 

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...

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