HI,
 
I was wondering if somebody could explain some opt-fop behavior for me. I have an Html --> FO --> PDF pipeline that I've setup for file conversion using a stylesheet I found at http://www-106.ibm.com/developerworks/xml/library/x-xslfo2app/.
 
When I explicitly specify the "filename='someoutputfile.pdf'" option in the fop transform step, the conversion takes place smoothly popping up the converted file with the IE (6.0) Open/Save option. However, without this - I end up with a blank page (HTML content) with nothing on the page.
 
My URL syntax works out to be: http://localhost:8080/ehs/convert.m?resource=html_file.htm.
 
I am using M2.2 with opt-fop 1.1 with Tomcat 5.0.3 Alpha. The command definition from maverick.xml is as follows:
 
<command name="convert">
   <controller class="ControllerNameDeleted" />
   <view name="success" type="document" path="convert.jsp">
      <transform type="xslt" path="xhtml-to-xslfo.xsl"/>
      <transform type="fop"/>
   </view>
</command>
For the record, my JSP file currently uses out.write() to output file content. I plan to change this to make it cleaner, but that's what happpens now.

Thanks!

Sandeep

Reply via email to