title: How to make hyperlink to a specific page in jasper report?
body: <p>I have a jrxml file. In this file I have a column with hyperlink to same report. But when I click on this link from any page jasper server loads first page. How can I load the same page from which I clicked on the link?
   Here is the example jrxml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report2" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="a5de7f4f-53e0-43ce-a41d-cd01ab98e889"&gt;
      &lt;property name="ireport.zoom" value="1.0"/&gt;
      &lt;property name="ireport.x" value="0"/&gt;
      &lt;property name="ireport.y" value="0"/&gt;
      &lt;queryString&gt;
          &lt;![CDATA[SELECT * from employee]]&gt;
      &lt;/queryString&gt;
      &lt;background&gt;
          &lt;band splitType="Stretch"/&gt;
      &lt;/background&gt;
      &lt;title&gt;
          &lt;band height="79" splitType="Stretch"/&gt;
      &lt;/title&gt;
      &lt;pageHeader&gt;
          &lt;band height="35" splitType="Stretch"/&gt;
      &lt;/pageHeader&gt;
      &lt;columnHeader&gt;
          &lt;band height="61" splitType="Stretch"&gt;
              &lt;textField isStretchWithOverflow="true"&gt;
                  &lt;reportElement x="21" y="41" width="110" height="20" uuid="ac484988-9581-4b7e-bf5d-2585ae2a1365"/&gt;
                  &lt;textElement textAlignment="Center"&gt;
                      &lt;font size="12"/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[($F(roll_no))]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;image hAlign="Center" hyperlinkType="ReportExecution"&gt;
                  &lt;reportElement mode="Transparent" x="481" y="41" width="20" height="20" uuid="5a15a90d-499d-47ed-a768-4f703c6c5ed4"/&gt;
                  &lt;imageExpression&gt;&lt;![CDATA["/datasources/Images/check"]]&gt;&lt;/imageExpression&gt;
                  &lt;hyperlinkParameter name="_report"&gt;
                      &lt;hyperlinkParameterExpression&gt;&lt;![CDATA["/root/reports/myReport"]]&gt;&lt;/hyperlinkParameterExpression&gt;
                  &lt;/hyperlinkParameter&gt;
              &lt;/image&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="463" y="23" width="65" height="18" uuid="f13d3810-4106-42d8-acdc-0eeb8033cd32"/&gt;
                  &lt;textElement textAlignment="Center"&gt;
                      &lt;font size="12" isBold="true" isUnderline="false"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Accept]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="21" y="23" width="110" height="18" uuid="fbb887ce-fab7-4142-8de2-f7f565e1bb18"/&gt;
                  &lt;textElement textAlignment="Center"&gt;
                      &lt;font size="12" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Staus]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
          &lt;/band&gt;
      &lt;/columnHeader&gt;
      &lt;detail&gt;
          &lt;band height="125" splitType="Stretch"/&gt;
      &lt;/detail&gt;
      &lt;columnFooter&gt;
          &lt;band height="45" splitType="Stretch"/&gt;
      &lt;/columnFooter&gt;
      &lt;pageFooter&gt;
          &lt;band height="54" splitType="Stretch"/&gt;
      &lt;/pageFooter&gt;
      &lt;summary&gt;
          &lt;band height="42" splitType="Stretch"/&gt;
      &lt;/summary&gt;
  &lt;/jasperReport&gt;
  </code></pre>