I want to generate images, and display them on the same page as text.
I tried using an include statement inside a servlet which had called ServletOutputStream. ServletOutputStream and encoder() never got along with each other, and always sent errors no matter what I tried.
I realize that I can generate an image, save it, and then on the client-side, use <img src="xxx.gif">. This works easily, so long as I don't need to change the image.
I just can't figure out how to display an image using either a JPEG or a Gif encoder, and combine the image with other text in the web page. This must be impossible. Why?
If I want a banner, it must be generated separately, in advance. That means one-size fits all.
Can anybody provide an explanation, and some insight.
How do people solve the problem of having a banner with a specific dimension, while user clients have different screen dimensions?
Thanks,
Daniel Hutchins
Woodbridge, CA
http://www.finehomemadesoap.com