Johannes Wolfgang Woger wrote:
my gernerated pdf file which I download form my printServlet, does not show any
border:
<fo:region-body border="solid 2pt red"/>
is without effect.

The spec forbids this, and FOP 0.20.5 complies. The usual way to get a border around the body region is to use a background image or put appropriate block containers with approproate border settings into the static content areas.

How can I set a name for the file to be downloaded.

The usual way is to send a MIME-multipart response, and send the PDF either as file attachment or using a content-disposition header. Search the list archive for sample code.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to