Sure ! but I ve got this answers on a news :

"Yes, you can generate GIF data on the fly.  No, you can't reliably use a JSP to display it.  The reason is that you can't reliably get the response output stream and write binary data with it, since the generated servlet code for your JSP already calls response getWriter().  Some servlet engines may let you get away with this, but you can't count on it."

I was just asking for a second advice !

Mike Hogarth wrote:

Hmm.  No reason you can't invoke a GIF-creating bean using JSP.

Your original message mentioned using Jrun as opposed to servlets. Just an FYI. JRun is a java app server that runs servlets.

--MH

*********** REPLY SEPARATOR  ***********

On 7/7/00 at 9:22 AM Antoine Oberlaender wrote:

>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
>
>
>------------------------------------------------------------------------------
>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
 

Reply via email to