what you are describing should work fine--the filename attribute should give you the open/save dialog and without it, the pdf should just open in the browser, but clearly something is going awry.
 
for argument's sake, could you try appending some bogus param to the query string, like:
 
 
In the past I've had occassions where ie overrode the mime type I sent it and figured out the mime type itself by looking at the final extension it saw.
 
let me know what happens.
 
--jim
 
----- Original Message -----
Sent: Tuesday, August 26, 2003 1:18 PM
Subject: [Mav-user] Opt Fop behavior

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.
 
 
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