<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial size=2>What is the best way
to display a pdf file in a zope application. I may select the file from an
oracle database of get it from a file system. I'm not sure at the
moment.</FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial size=2>My Zope Bible book
shows how to upload a pdf file from a filesytem then view it. But in my
case the pdf I want to view is based on an ID entered by the user. There
may be many different pdf and I can't upload them all.</FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial size=2>I want to be able to
</FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial size=2> 1) if the the
pdf is on server then</FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2> view
(\docs\my.pdf) using the correct application type</FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2>or</FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial size=2> 2) if I
select the pdf from an oracle table (stored as a BLOB)</FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2> <dtml-in
sql-get_pdf></FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2>
somehow display the pdf</FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2> </dtml-in></FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial size=2>Thanks for your
help</FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial size=2>Mike
Guerrero</FONT></SPAN></DIV>
<DIV><SPAN class=318132923-14082003><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=318132923-14082003></SPAN> </DIV></BODY></HTML>