RE: baseDir Problem with images

2005-07-04 Thread Andreas L. Delmelle
> -Original Message- > From: Peter Kalsch [mailto:[EMAIL PROTECTED] > Hi, > 1. entry in servlet init()-Method > ... > new Options(new > File("/usr/local/tomcat/webapps/webAT/conf/userconfig.xml")); > ... > This obviously works... > 2. Entry in "userconfig.xml": > > baseDir >

Re: baseDir Problem with images

2005-07-04 Thread The Web Maestro
On Jul 4, 2005, at 7:57 AM, Peter Kalsch wrote: 6. I'm looking in the mailing for similar problems. But all proposals to solve the problem failed. And whatever I try, I got more than less the same error: "Error while creating area : Invalid Image URL - error on relative URL : no protocol: u

Re: baseDir

2005-06-17 Thread delbd
ontent type set appropriately. > > -Original Message- > From: delbd [mailto:[EMAIL PROTECTED] > Sent: 17 June 2005 09:41 > To: fop-users@xmlgraphics.apache.org > Subject: Re: baseDir > > Thanks, but as i said, adding a new protocol to URL in not faisable. Not > becau

RE: baseDir

2005-06-17 Thread Radhika Sambamurti
To give it a relative name either a url or a path I used: src="url(images/abc.jpg)"/> Hope that helps. -rs Radhika Sambamurti Pipeline Trading Systems [EMAIL PROTECTED] 212-370-8343 -Original Message- From: delbd [mailto:[EMAIL PROTECTED] Sent: Friday, June 17, 2005 2:26 AM To: fop-u

RE: baseDir

2005-06-17 Thread Chris Nappin
response (e.g. image) with content type set appropriately. -Original Message- From: delbd [mailto:[EMAIL PROTECTED] Sent: 17 June 2005 09:41 To: fop-users@xmlgraphics.apache.org Subject: Re: baseDir Thanks, but as i said, adding a new protocol to URL in not faisable. Not because URL does not

Re: baseDir

2005-06-17 Thread delbd
Thanks, but as i said, adding a new protocol to URL in not faisable. Not because URL does not support it, but because of classloader restrictions (The URL classloader is a parent of the one containing my content management, so it does not have access to content management classes, not to mention

Re: baseDir

2005-06-17 Thread Jeremias Maerki
Why not? Have a look at my RFC2397 [1] implementation which is exactly what you were thinking about, a new URL protocol handler. I've written stuff like this before, for example an URL handler that accessed a virtual file system implemented in Java. I can recommend an excellent document [2]. The n