Sorry guys ive been not so clear. here's the deal , ill explain the whole
process trying to resume so nobody gets bored reading :)
final images are 400x300px (sometimes png, sometimes jpg) containing pie
charts, bar charts, etc. The webapp is constantly connected getting information
from a pbx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alexis,
On 5/6/2011 12:37 PM, alexis wrote:
> small images (never more than 35kB) in a LAN. :)
Martin's comment was, as usual, off-topic and hot terribly helpful.
Martin, use of the JAI doesn't have anything to do with bandwidth unless
you think tha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alexis,
On 5/6/2011 10:52 AM, alexis wrote:
> I understand, but i have top 12 images of 35kbytes, no more.
Fair enough.
> Encoding load is an issue yes, but the images are reflecting
> callcenters call queues and some stuff related so the need to re
vent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
>> Subject: Re: storing images
>> To: users@tomcat.apache.org
>> From: alz...@gmail.com
>> Date: Fri, 6 May 2011 14:52:50 +
>>
lement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Subject: Re: storing images
> To: users@tomcat.apache.org
> From: alz...@gmail.com
> Date: Fri, 6 May 2011 14:5
berry
-Original Message-
From: Christopher Schultz
Date: Fri, 06 May 2011 09:48:45
To: Tomcat Users List
Reply-To: "Tomcat Users List"
Subject: Re: storing images
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alexis,
On 5/5/2011 8:19 PM, alexis wrote:
> Im sto
destroying an image someone is using.
-Original Message-
From: alexis [mailto:alz...@gmail.com]
Sent: Friday, May 06, 2011 8:38 AM
To: Tomcat Users List
Subject: Re: storing images
Image is built using a jfreechart object, once created it's stored as
attribute in servletcontext, at this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alexis,
On 5/5/2011 8:19 PM, alexis wrote:
> Im storing the images as servletcontext attribute.
Uh... in memory? That's a bad idea IMO for two reasons:
1. Large memory requirements
2. Likely repeated encoding into a file format like JPEG, PNG, etc.
berry
-Original Message-
From: sebb
Date: Fri, 6 May 2011 14:05:14
To: Tomcat Users List
Reply-To: "Tomcat Users List"
Subject: Re: storing images
If multiple threads try to create the image at the same time it is
possible that one thread will see a partial file - or the file may
If multiple threads try to create the image at the same time it is
possible that one thread will see a partial file - or the file may be
locked.
If you are not doing this already, I suggest creating the file with a
unique temporary name and then renaming it once complete.
The rename may fail if an
I'd store the image to java.io.tmpdir and retrieve it with a servlet. I
doing this now with my Ajax application.
On Thu, May 5, 2011 at 2:19 PM, alexis wrote:
> Hello all, im facing an issue, ive been testing for a while different
> approaches without success.
>
> I have a servlet that basically
-Original Message-
From: Mark Thomas
Date: Fri, 06 May 2011 09:09:55
To: Tomcat Users List
Reply-To: "Tomcat Users List"
Subject: Re: storing images
On 06/05/2011 01:19, alexis wrote:
> What i did (im testing and profiling it) is.
>
> As the images are around 10/12 and each ima
ssage-
From: Mark Thomas
Date: Fri, 06 May 2011 09:09:55
To: Tomcat Users List
Reply-To: "Tomcat Users List"
Subject: Re: storing images
On 06/05/2011 01:19, alexis wrote:
> What i did (im testing and profiling it) is.
>
> As the images are around 10/12 and each image has
On 06/05/2011 01:19, alexis wrote:
> What i did (im testing and profiling it) is.
>
> As the images are around 10/12 and each image has around 30 to 35k.
>
> Im storing the images as servletcontext attribute.
>
> So calling to the servlet with ?code=1 builds and stores image1 on servlet
> conte
nt obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Subject: Re: storing images
> To: users@tomcat.apache.org
> From: alz...@gmail.com
> Date: Fri, 6 May 2011 01:32:40
-
From: Martin Gainty
Date: Thu, 5 May 2011 21:26:12
To: Tomcat Users List
Reply-To: "Tomcat Users List"
Subject: RE: storing images
achieved if you correspond the userid-imageid parameter with the acquired image
identifier e.g.
?code=1.1 puts user1 image 1 on servlet and retur
importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Subject: Re: storing images
> To: users@tomcat.apache.org
> From: alz...@gmail.com
> Date:
hu, 05 May 2011 20:00:57
To: Tomcat Users List
Reply-To: "Tomcat Users List"
Subject: Re: storing images
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alexis,
On 5/5/2011 2:19 PM, alexis wrote:
> I have a servlet that basically does
>
> . creates an image
> . store the i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alexis,
On 5/5/2011 2:19 PM, alexis wrote:
> I have a servlet that basically does
>
> . creates an image
> . store the image on disk
> . returns an html tag pointing to the stored image.
>
> there's no way to return binary content (the image) from
perfect, ill check this.
Thanks for the answer.
On May 5, 2011, at 5:42 PM, Leo Donahue - PLANDEVX wrote:
>> -Original Message-
>> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
>> Subject: RE: storing images
>>
>>> From: alexis [mai
>-Original Message-
>From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
>Subject: RE: storing images
>
>> From: alexis [mailto:alz...@gmail.com]
>> Subject: storing images
>
>
>You have a couple of options:
>
>1) Create a dummy webapp whos
> From: alexis [mailto:alz...@gmail.com]
> Subject: storing images
> So, i have to create the image on the servlet (done) , store
> the image on the disk (done), and return the tab also
> done. Thing is, where im able to store the image from the
> servlet im not able to read it from the jsp.
On 5/5/2011 2:19 PM, alexis wrote:
Hello all, im facing an issue, ive been testing for a while different
approaches without success.
I have a servlet that basically does
. creates an image
. store the image on disk
. returns an html tag pointing to the stored image.
reason why the servlet do
23 matches
Mail list logo