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
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 can
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
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 servlet
API doc
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
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
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 init-param value, and then do a getRealPath() to convert
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 init-param value, and then do
-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 init-param value, and then do a
Hi.
On another thread, a discussion was started as to how to correctly
locate and specify some data file, part of the application, and which
needs to be read in by some code part of that same webapp.
Say that the application has a context path /myapp.
The original idea is to locate the
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
From: André Warnier [mailto:a...@ice-sa.com]
Subject: resource file location (was: Logo file location)
The trouble is, it does not really explain what is meant by a path in
that context, and some of the other method descriptions on the same
page introduce a slight doubt.
Sure it does
Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: resource file location (was: Logo file location)
The trouble is, it does not really explain what is meant by a path in
that context, and some of the other method descriptions on the same
page introduce a slight
13 matches
Mail list logo