You're going to want to read the docs. There are classes that aren't
allowed, and ImageIO isn't on the class whitelist. Instead, you'll want to
use the images API:

http://code.google.com/appengine/docs/java/images/

If you're looking to build a captcha, you should probably use something like
reCaptcha instead:

http://code.google.com/apis/recaptcha/intro.html

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Mon, Aug 8, 2011 at 4:16 AM, cpuzer <[email protected]> wrote:

> With stand SUN JAVA runtime,a JSP page can output images steam like
> the:
> <%@ page contentType="image/jpeg" import="javax.imageio.ImageIO,
>
> javax.servlet.ServletOutputStream,
>                                          java.awt.*,
>
> java.awt.image.BufferedImage,
>                                          java.io.IOException,
>                                          java.util.Random" %>
>
> But in google app engine runtime,Some class aren't in google's
> whilelist,who can tell me how to output imaes( Like Verification code)
> whith Java?
>
> HRLP,HELP!!!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to