LeanMoreTryMore
asked on
JSP -> Servlet -> Jasper
I have developed a report using Jasper. This report will be invoked from the JSP page which sends the requests to Servlet.
My question is how to i tell the servlet to run the Jasper report and send the report back to the user...
Please give me the process flow how to tackle this problem if anyone who has done this before.
I think this is very common requirement. The web page is allowed the user to run the report. Once the report is generated, the report is sent it back to the JSP page....
My question is how to i tell the servlet to run the Jasper report and send the report back to the user...
Please give me the process flow how to tackle this problem if anyone who has done this before.
I think this is very common requirement. The web page is allowed the user to run the report. Once the report is generated, the report is sent it back to the JSP page....
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=64&t=001343
"Jasper report itself come with some nice samples and tutorials which are available in
http://jasperreports.sourceforge.net/tutorial/index.html
and samples which are located in "Jasper report folder"\demo\samples"
taken from the URL above
David
"Jasper report itself come with some nice samples and tutorials which are available in
http://jasperreports.sourceforge.net/tutorial/index.html
and samples which are located in "Jasper report folder"\demo\samples"
taken from the URL above
David
ASKER
I have read some documents.
I want to know how to invoke a jasper report from within Servlet and how to send it back to the user (JSP client)?
I think the attached link shows us how to build a jasper report but do not answer my question
I want to know how to invoke a jasper report from within Servlet and how to send it back to the user (JSP client)?
I think the attached link shows us how to build a jasper report but do not answer my question
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for you guys
Is it the common way to be used in commerical web application? I means always use Servlet technology to generate Jasper report and send it back to web client.???
Is it the common way to be used in commerical web application? I means always use Servlet technology to generate Jasper report and send it back to web client.???
Hi,
>>"Is it the common way to be used in commerical web application?"
I am not sure but I think so. I can't find any other way to do it. Alternatively, you can create a custom tag for it and use this tag to display it into your JSP (that would be neater).
David
>>"Is it the common way to be used in commerical web application?"
I am not sure but I think so. I can't find any other way to do it. Alternatively, you can create a custom tag for it and use this tag to display it into your JSP (that would be neater).
David
ASKER
Would David give me a simple program to use tag to diaplay it into the JSP?
Please
Please
This worth to be looked at
http://ensode.net/jasperreports_pdf_send_to_browser.html
David