syedmuhammadoan Posted June 8, 2016 Posted June 8, 2016 [/code]Hi! . It's been two days now and i am stuck at a very small problem and i now i have given up so i am posting my question here.I am working locally and i have created a hyperlink text in my report . I am using reference type link and in reference tab i have put"/cibs/printInvoice.doo?prepaidAll_action=prepaidAll&invoiceId=786654" (i have given invoiceId in queryString as well) and i have given invoiceId = 786654 even in link parameter tab.But when page is loaded and i see the link . It skips the "&invoiceId=786654" part . This i think is because i am using struts maybe (not sure) . But atleast i should recieve the invoiceId i gave in link parameter.In my code i am getting the parameter like this :Map parameters = new HashMap();parameters.put("invoiceId", request.getParameter("invoiceId"));[/code]but i recieve null. Can someone please tell me how do i send invoiceId as a request parameter.
hozawa Posted June 8, 2016 Posted June 8, 2016 Try export the report to html and see if the invoiceId is showing up in the url when you hover over the hyperlinked item. If so, it's a problem with your environment rather than with JasperReports.
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