Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-21 Thread Phillip Rhodes
I have a weird and crazy idea that may help you Why don't you install a local apache server with mod_proxy. You can configure mod_proxy so that it can tunnel into https from your http connection. 1) It's very fast, all my browsing is through a proxy server 2) You can secure your local apach

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Johan Åbrandt
> As Jeremias pointed out SourceResolver is already in the todo list. Ok, I it is this one: "Integrate with Jakarta Avalon: logging, configuration, URI resolver, component management, image caching etc. ? open "? Anyhow, thanks for the help, Oleg and Jeremias. Br - Johan Oleg Tkachenko wrote: Jo

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Oleg Tkachenko
Johan Åbrandt wrote: Personally I would put a high priority on enabling the programmer to override resource resolution (ala EntityResolver) for FOP though. As Jeremias pointed out SourceResolver is already in the todo list. But when it would be implemented - nobody knows. -- Oleg Tkachenko eXper

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Johan Åbrandt
Hi Oleg, Thanks for your answere, Yeah true, I could do that, but I feel it is a bit overkill. My client want all trafic over HTTPS, and I cant really ask them to sacrifice that . The image in itself isnt sensitive, so it could be served over http anyhow, the not so nice thing is that I would ei

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Oleg Tkachenko
Johan Åbrandt wrote: It doesnt do the trick for me since I have no idea where any of our customers might have decided to install their application server. Also I am using EAR file which means that servletContext.getRealPath( string ) wouldnt do it either. I am currently looking into using the javax

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Johan Åbrandt
Hi Jeremias, It doesnt do the trick for me since I have no idea where any of our customers might have decided to install their application server. Also I am using EAR file which means that servletContext.getRealPath( string ) wouldnt do it either. I am currently looking into using the javax.ser

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Jeremias Maerki
Are your images located on the same server as FOP? If yes, you could access the files directly by filesystem if you set baseDir to something like: Configuration.put("baseDir", "C:\tomcat\webapps\webapp"); Surely not a clean solution but faster than going via http/https and it could work for the mo

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Johan Åbrandt
Hi Jeremias, Thank you for answering, I am already using urls, i.e http://host.domain.com/webapp/images/foo.gif works, but https://host.domain.com/webapp/images/foo.gif does not. > Currently there's no possibility to set or use an EntityResolver (or > similar) but it's on the todo list. Nice to

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Jeremias Maerki
Currently there's no possibility to set or use an EntityResolver (or similar) but it's on the todo list. In the meantime you could try to set the baseURL in Java code like this: Configuration.put("baseDir", "https://myserver/somedir";); But please be aware that this currently only works in the CV

fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Johan Åbrandt
Hi, I have the following external graphic declaration in a XML file: I render it to a servlet outputstream using: Driver driver; driver = new Driver( new InputSource( reader ), out ); driver.setRenderer( Driver.RENDER_PDF ); driver.run(); This works just fine when having the server configured f