Hi all! I am trying to use a Java servlet through ColdFusion. This servlet uses a cooperating company’s Java API, which handles document viewing. Along with the servlet and the API, this company also provides a live example in JSP, which uses the aforementioned API.
When I tried to call the servlet from a ColdFusion page, for viewing a PDF document, the attempt failed! (The JSP example worked fine) The problem in the CF version is that it can’t output the actual content of the PDF. Although the Adobe plug-in does take over, and it loads the document showing its contents correctly, its pages are left blank without anything on them. (it also shows the correct number of pages) I tried to change the encoding to utf or others but I didn’t get any better results (BTW the PDF file is written in English) I have tried it with many PDF files and all led to the same result. I tried to find a solution with the company’s development team but they said that they couldn’t help me further since it worked fine on their JSP example. The only difference in the two cases (apart from the apparent of using ColdFusion instead of JSP) is that JSPs are served through Tomcat Apache while I am using CF MX 6.1 running as a J2EE application over IIS. Could this be the problem? Any other ideas of why the Adobe plug-in ignores the PDF actual contents? By the way, I am really "forced" to use the particular API as it provides much more essential features that I need, so changing it with something else is really not an option. Thanks in advance, Stavros ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:40:1136 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/40 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:40 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.40 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54