Dear All
I can't get iPlanet to create an instance of the class Image. I am trying to
create a servlet that outputs a gif (ACME encoder) image.
The code is:
// Create the image
Frame dummy = new Frame();
image = dummy.createImage(width, height);
The Frame constructor returns a null pointer which causes the
dummy.createImage line to throw a null pointer exception.
I don't want a visible frame, just an off-screen surface to draw into! Do I
need to install a JDK or something on the iPlanet web server? Has anyone
managed to serve images from within a servlet?
Thanks for your help!
Nick.
***************************************************************
The contents of this Email and any files transmitted with it
are confidential and intended solely for the use of the
individual or entity to whom it is addressed. The views stated
herein do not necessarily represent the view of the company.
If you are not the intended recipient of this Email you may not
copy, forward, disclose or otherwise use it or any part of it
in any form whatsoever. If you have received this mail in
error please Email the sender.
***************************************************************
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html