Hi, there

What's the best way to display an image in servlet?

And I tried the example from O'Reily but received error:

Thanks for any instructions
yang


stella@lewis:~/Hotel > javac HelloWorldGraphics.java
HelloWorldGraphics.java:20: Method addNotify() not found in class Frame.
      frame.addNotify();
                     ^
HelloWorldGraphics.java:23: Method createImage(int, int) not found in class
Frame.
      Image image = frame.createImage(400, 60);
                                     ^
HelloWorldGraphics.java:38: Method removeNotify() not found in class Frame.
      if (frame != null) frame.removeNotify();
                                           ^
3 errors
stella@lewis:~/Hotel > which java
/home/stella/java/jdk1.2.2/bin/java
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
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

Reply via email to