I've had some problens generating GIF on the Fly on Linux.
If you need to use some java.awt package you must have Xwin running.
So my application after six hours running, just lost the connection or had
some problems communicating with Xwin and every servlet that try to load
GIF on Image class, return an exception trying when tried to load the image
from some file.
I've aleady got problem's to with some misconfiguration with XWin, the JDK
couldn't invoke some internal method from Xwin.
Sometimes we just need to restart the XWindows, but some JDK's when lost the
connection with socket 7000, just crash and we lost all the sessions from
users.
So we had to migrate our GIF's on the fly to a little program in C to stop
the problem.
Somebody knows some lib that could use intead XWin in graphic mode ?
-----Original Message-----
From: Andrew Phelps [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 7 de julho de 2000 10:19
To: '[EMAIL PROTECTED]'
Subject: RE: Gif on the fly
There's also a good section in Jason Hunters book 'Servlet Programming',
O'Reilly which details image creation on the fly.
We tried it with the sun JPEG encoder and the ACME GIF encoder and they both
worked fine.
-----Original Message-----
From: Antoine Oberlaender [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 07, 2000 2:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Gif on the fly
--------------D0DC41A3CA51587025459C87
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Thanks for your answers !
sure Ive already seen this article ! (anyway i am trying to configure jrun
to use Jimi and it doesnt seem to work ...)
but the question is can I use JSP files and NOT servlet to do this !
Thanks !
Mike Hogarth wrote:
> Look at either this or last issue of www.javaworld.com. You will find an
article with source code for creating .GIF files on the fly with java.
>
> If you want to return the .GIF to a browser (as opposed to writing to a
file), make sure to set the correct
content-type....(..setContentType()..)and stream back through the servlet
output stream.
>
> ***********************************************************************
> Michael Hogarth, MD
> Medical Director, Applied Medical Informatics Group and
> Assistant Professor of Internal Medicine and Pathology
> UC Davis Health System
> http://kenai.ucdavis.edu
>
> "Give paper records credit: they are very efficient at recording
> redundant, illegible, poorly structured information"
>
> Stuart Turner, DVM
>
> ***********************************************************************
>
> *********** REPLY SEPARATOR ***********
>
> On 7/6/00 at 6:25 PM Antoine Oberlaender wrote:
>
> >Is it possible to create GIF on the fly with JRUN ?
> >
> >and how ?
> >
> >I think I must use servlets to do it but just asking if it was possible
> >with JRUN !
> >
> >Antoine
> >
>
>---------------------------------------------------------------------------
---
> >Archives: http://www.egroups.com/group/jrun-interest/
> >Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> >or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
>
>
----------------------------------------------------------------------------
--
> Archives: http://www.egroups.com/group/jrun-interest/
> Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
--
----------------------------------------------
Antoine Oberlaender
[EMAIL PROTECTED]
Capella Technologies
4208 St-Denis
Montreal (Quebec)
H2J 2K8
tel: (514) 849-1494
fax: (514) 849-9873
http://www.capella.org
--------------D0DC41A3CA51587025459C87
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thanks for your answers !
<p>sure Ive already seen this article ! (anyway i am trying to configure
jrun to use Jimi and it doesnt seem to work ...)
<p>but the question is can I use JSP files and NOT servlet to do this !
<p>Thanks !
<p>Mike Hogarth wrote:
<blockquote TYPE=CITE>Look at either this or last issue of
www.javaworld.com.
You will find an article with source code for creating .GIF files on the
fly with java.
<p>If you want to return the .GIF to a browser (as opposed to writing to
a file), make sure to set the correct
content-type....(..setContentType()..)and
stream back through the servlet output stream.
<p>***********************************************************************
<br>Michael Hogarth, MD
<br>Medical Director, Applied Medical Informatics Group and
<br>Assistant Professor of Internal Medicine and Pathology
<br>UC Davis Health System
<br><a href="http://kenai.ucdavis.edu">http://kenai.ucdavis.edu</a>
<p>"Give paper records credit: they are very efficient at recording
<br>redundant, illegible, poorly structured information"
<p>Stuart Turner, DVM
<p>***********************************************************************
<p>*********** REPLY SEPARATOR ***********
<p>On 7/6/00 at 6:25 PM Antoine Oberlaender wrote:
<p>>Is it possible to create GIF on the fly with JRUN ?
<br>>
<br>>and how ?
<br>>
<br>>I think I must use servlets to do it but just asking if it was possible
<br>>with JRUN !
<br>>
<br>>Antoine
<br>>
<br>>-----------------------------------------------------------------------
-------
<br>>Archives: <a
href="http://www.egroups.com/group/jrun-interest/">http://www.egroups.com/gr
oup/jrun-interest/</a>
<br>>Unsubscribe: <a
href="http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_t
alk">http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jru
n_talk</a>
<br>>or send a message to [EMAIL PROTECTED] with
'unsubscribe'
in the body.
<p>-------------------------------------------------------------------------
-----
<br>Archives: <a
href="http://www.egroups.com/group/jrun-interest/">http://www.egroups.com/gr
oup/jrun-interest/</a>
<br>Unsubscribe: <a
href="http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_t
alk">http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jru
n_talk</a>
<br>or send a message to [EMAIL PROTECTED] with
'unsubscribe'
in the body.</blockquote>
<p>--
<br>----------------------------------------------
<br>Antoine Oberlaender
<br>[EMAIL PROTECTED]
<p> Capella Technologies
<br> 4208 St-Denis
<br> Montreal (Quebec)
<br> H2J 2K8
<p>tel: (514) 849-1494
<br>fax: (514) 849-9873
<br><A HREF="http://www.capella.org">http://www.capella.org</A>
<br> </html>
--------------D0DC41A3CA51587025459C87--
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.