Because Sun think the ability to load images, whether you want to display
them or not, requires a canvas. Which makes little sense in the case of
servlets... hmm
Anyway, someone kindly referred me to this site some time ago which works
around this issue by writing their own awt replacement/patch.
http://www.eteks.com/pja/en/
Or if you feel like installing X, you can run headless X to achieve the
same goal
This requirement is on Sun's "feature request" list so maybe one day soon.
hth
Chris
On Wed, 28 Jun 2000 14:09:13 +0530, alok wrote:
>Hi,
>
>Has anybody tried importing AWT in servlets.Why does not JSDK allow the
>use of all the methods of AWT API.
>
>Thanks,
>Alok.
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: htp://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
>
___________________________________________________________________________
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