Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 12th, 2005, 04:30 PM
Authorized User
 
Join Date: Jun 2003
Location: Stockton, CA, USA.
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default ??Imaging with encoder with ServletOutputStream?

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
__________________
Daniel Hutchins
Stockton, CA
http://www.finehomemadesoap.com


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Imaging Scripts82 Pro VB.NET 2002/2003 0 January 4th, 2007 05:32 PM
PHP Multipage Imaging veggivore PHP How-To 0 August 29th, 2006 11:07 PM
Imaging for Windows sgluzberg VB How-To 6 February 14th, 2005 10:35 AM
Imaging G-Zilla Beginning PHP 4 January 30th, 2004 06:11 PM
javascript encoder alihussein3 Javascript How-To 1 December 26th, 2003 07:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.