logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • andy
    • Posted on Thu 26 Jun 2008 07:50 AM

    the other way involved...

    looking at the way the calendar application you wrote (NotesButter) works, it appends strings to a rich text field and you set the type to Pass-Thru HTML, and write the richtext field back out to the browser without saving a file or document.

    Maybe it would be possible to set the richtext field to MIME, read in the filestream from the OS, base64 encode it one byte at a time and then stream it back out to the richtext field with the correct header information.

    when the browser renders the richtext field it should convert it back to an image - similar to the way Johan Känngård pointed out in the previous blog "Creating Image Files In Java Agents"

    - just a thought

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: