Couple of questions--first, are you on CFMX? Second, would you be running your CF code on a server where you would have access to all the crystaldecisions java packages? If the answer is no to either of those, this might be difficult, but if it's yes to both it really shouldn't be too bad, as long as you don't mind using Java in your CF.

Matt

-------------------------
Matthew P. Woodward
[EMAIL PROTECTED]


----Original Message Follows---- From: "Knight, Matt" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: JSP/Java to CF Date: Mon, 23 Feb 2004 14:42:49 -0600

Any ideas on how to convert the following to CFML?


<%@ page language="java" contentType="text/html;charset=UTF-8"%> <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%> <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFa ctory, com.crystaldecisions.sdk.occa.report.reportsource.IReportSourceFactory2, com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%>


<% String path = "/sample.rpt"; IReportSourceFactory2 rsf = new JPEReportSourceFactory(); IReportSource rptSource = (IReportSource) rsf.createReportSource(path,request.getLocale()); CrystalReportViewer viewer = new CrystalReportViewer(); viewer.setReportSource(rptSource); viewer.processHttpRequest(request,response,getServletConfig().getServletCont ext(), out); viewer.dispose(); %>


Regards,


Matt Knight
(972) 361-9943 w / (214) 213-4016 m
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To unsubscribe:
   Send UNSUBSCRIBE to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

_________________________________________________________________
Get fast, reliable access with MSN 9 Dial-up. Click here for Special Offer! http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/


-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To unsubscribe: Send UNSUBSCRIBE to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org




Reply via email to