The problem is that FOP still makes extensive use of static constructs.
The Options class accesses the Configuration class which has static
Hashtables to hold the configuration.
Apart from that the code below should work.
On Mon, 12 Nov 2001 11:31:28 -0800 Ramin Firoozye wrote:
> Since we're on
Ramin,
When I looked at this code I came to the same conclusion, but I can't
say that I feel at home in there, so maybe a rabbit is pulled out of the
hat somewhere.
See also my earlier comments on redesign of options/command-line processing.
Peter
Ramin Firoozye wrote:
> Since we're on the
Since we're on the subject of embedding FOP...
I still can't figure out how to specify the FOP Driver to load the user
configuration file from inside a servlet. You need this if you want to have
your servlet support fonts other than the built-in ones.
The docs say use something like:
Options