xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Cumps" <jcu...@gmail.com>
Subject Re: PDF over SSL, images not avaliable.
Date Tue, 02 Sep 2008 12:34:35 GMT
As Manual Mall wrote, it might work from your browser. But FOP is not
accessing the url via the browser. It goes via Java http/s api.

Have you tried the simple Java test that Manuel proposed? That should
tell you if you can access the resource over https from Java.

Regards, Jan



2008/9/2, Ricuzzo <ricuzzo@gmail.com>:
>
> Hello,
>
> Actually, I am able to retrieve the image outside fop, by typing the url of
> the servlet that generates de image (it gets a blob from the data base and
> tranforms it into a image), under https. The only problem that really exists
> is calling an image under https inside my xsl-fo, as i showed below.
>
> <fo:external-graphic src="https://xxxx./ quaestor/img/LogoMinisterio.jpg"
> content-width="13em"/>
>
> And there is no any problem with getting the image by typing this in the
> browser:
>
> https://xxxx./ quaestor/binaryServlet?image=1 ...  (a stream generated
> image)
>
> or this:
>
> https://xxxx./ quaestor/img/LogoMinisterio.jpg     (directly invoking an
> image file inside the java project)
>
> By the way, i am using weblogic 8.1.
>
> I really dont get it...
>
>
>
> Ricuzzo wrote:
> >
> > Hello.
> > I have this problem generating PDF documents dinamically under SSL. I
> > finally got to display the document under HTPPS, using some headers in my
> > response (pragma 'public' and cache-control ...), but the problem now is
> > that images are not displayed, if seems that under https, FOP cannot
> > recognize or display my logos and pictures embeded in the document. It is
> > not a certificate problem, not an agreement problem, its like fop cannot
> > manage or has some kind of problem with retrieving images under
> > encription.
> >
> > In my xsl-fo, i am invoking the images via example:
> >
> > <fo:external-graphic src="https://xxxx./ quaestor/img/LogoMinisterio.jpg"
> > content-width="13em"/>
> >
> >  Any ideas? any other way to get images?
> >
> >  I really need to get rid of this problem, it is mandatory get this thing
> > done as soon as posible in my job.
> >
> > ty very much!!!
> >
>
> --
> View this message in context: http://www.nabble.com/PDF-over-SSL%2C-images-not-avaliable.-tp19265631p19269031.html
> Sent from the Xml Graphics - General mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
> To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: general-help@xmlgraphics.apache.org
>
>

---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message