Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.