Originally posted by prakash muthu: Hello Every one! I want to call a Crystal Report from JSP with Weblogic.. Can you show light for any link or help regarding the above TIA Prakash
What are you using the Crystal Report for? Are you trying to view the report over a browser? If so, did you install the Crystal Reports Web Component Server & the Web Viewer? If you did, did you try to see if the samples work? The samples are at "http://hostname/scrsamples". Check these things first and then you should be able to call the report like "http://hostname/somereport.rpt." If there are parameters passed to the report, there are other steps involved. I don't exactly remember but i thing you need to pass it as part of the query string (ex/ "http://hostname/somereport.rpt?param1=value1"). [This message has been edited by Bart Tubalinal (edited July 18, 2001).]
prakash muthu
Ranch Hand
Joined: Sep 06, 2000
Posts: 75
posted
0
Hi Bart Tubalinal. Thanks for your reply.. I installed webServerComponent and JavaViewer..I starttedweblogic and WebServer component also.. but if i give a url as http://localhost:7001/sample/sample.rpt, i got error page only.. Let me know if there is any settings i suppose to do? TIA Prakash
Bart Tubalinal
Greenhorn
Joined: Jul 18, 2001
Posts: 7
posted
0
What error message do you get? a 404 error? Please describe the type of error.
prakash muthu
Ranch Hand
Joined: Sep 06, 2000
Posts: 75
posted
0
Hi, Thanks for your reply.. Yes i got 404 error only. FYI, i added the steps what i did started web server started webServer Component In brower i gave URL as http://localhost:7001/Report1.rpt. Report1.rpt is under myserver folder.. regards Prakash
sagar kale
Greenhorn
Joined: May 04, 2000
Posts: 2
posted
0
Hello there, As far crystal report is concerned, it comes in different flavours, one which I tried is CR server component called from ASP on IIS. Firstly .jsp is called which then redirects to ASP page (eg one from samples, generally in Program Files\Seagate Software\Crystal Reports\Samples\Code\Web\Active Server Pages\sample.asp) running on IIS. This ASP page creates CR server instance & generates report which jsp has posted as querystring. The problem with combination is u'll need to deploy it on MS only. CR server is supported on MS only, not on unix/linux. If now if it is available, let me also know. Here are steps to be followed: 1) .jsp?param=... : from weblogic check out community.seagatesoftware.com. 2) redirect it to iis/pws which can run asp & create server component. 3) that .asp page 4) thats it!