That doesn't make any sense. h:graphicImage renders a tag not an image.

<img src="..." />

Images are not actually in HTML pages, just tags that insert images.
Then the browser uses an HTTP request to get the images from the
server to insert into the page when the page is rendered. If there was
a byte[] array in the JSF graphicImage component, what would JSF do
with it? It cannot render those bytes in the response as a browser
would not know what to do with them.

If you want a dynamic image, best thing to do is create a servlet then
have the tag just point to that servlet with path & query strings
configured as you need them.

On 4/5/06, Mert Çalışkan <[EMAIL PROTECTED]> wrote:
>
> I think <h:graphicImage> should support byte[] binding as a value...
>
>
> Mert
>
>
>
> On 4/4/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> > Udo, when you are *generating* you image, you may take a look at
> > Cagatay's blog ([1])
> >
> > [1] http://tinyurl.com/q7yff
> >
>
>

Reply via email to