Re: Logo file location

2009-12-16 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Logo file location In TC 5.5.x or 6.0.x, Where in my webapp folder structure should I put a small .bmp file that I use for putting a logo on generated reports? Use ServletContext.getResourceAsStream() to retr

Re: Logo file location

2009-12-14 Thread Pid
On 14/12/2009 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/14/2009 3:53 PM, André Warnier wrote: Upon further examination of the spec page above, I would guess that a better way (more flexible) would be to specify the relative URI of your file as

Re: Logo file location

2009-12-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/14/2009 3:53 PM, André Warnier wrote: > Upon further examination of the spec page above, I would guess that a > better way (more flexible) would be to specify the relative URI of your > file as an value, and then do a getRealPath() to co

Re: Logo file location

2009-12-14 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Logo file location Upon further examination of the spec page above, I would guess that a better way (more flexible) would be to specify the relative URI of your file as an value, and then do a getRealPath

RE: Logo file location

2009-12-14 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Logo file location > > Upon further examination of the spec page above, I would guess that a > better way (more flexible) would be to specify the relative URI of your > file as an value, and then do a getRealPath()

Re: Logo file location

2009-12-14 Thread André Warnier
André Warnier wrote: David kerber wrote: Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Logo file location In TC 5.5.x or 6.0.x, Where in my webapp folder structure should I put a small .bmp file that I use for putting a logo on generated reports? Use S

Re: Logo file location

2009-12-14 Thread André Warnier
David kerber wrote: Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Logo file location In TC 5.5.x or 6.0.x, Where in my webapp folder structure should I put a small .bmp file that I use for putting a logo on generated reports? Use ServletContext.getResou

RE: Logo file location

2009-12-14 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Logo file location > > Will it find it pretty much wherever I put it No, the argument to ServletContext.getResourceAsStream() is a path argument, which must point to the location of the file of interest. Look at the

Re: Logo file location

2009-12-14 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Logo file location In TC 5.5.x or 6.0.x, Where in my webapp folder structure should I put a small .bmp file that I use for putting a logo on generated reports? Use ServletContext.getResourceAsStream() to retr

RE: Logo file location

2009-12-14 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Logo file location > > In TC 5.5.x or 6.0.x, Where in my webapp folder structure should I put > a small .bmp file that I use for putting a logo on generated reports? Use ServletContext.getResourceAsStream() to retrieve the file, which