Papaya Head wrote:
>
> should you import sun.awt.motif.*?
>
Shouldn't have to. That's a Sun (unix) specific package that you're not
supposed to mess with.
> Though I have added the statement : Import java.awt.Toolkit.*, still
> it doesn't work.
>
> java.lang.NoClassDefFoundError: sun/awt/motif/MToolkit
> at org.apache.jserv.JServServletManager.load_init(Compiled Code)
>
> at org.apache.jserv.JServServletManager.loadServlet(Compiled
> Code)
> at org.apache.jserv.JServConnection.run(Compiled Code)
> at java.lang.Thread.run(Compiled Code)
Are you trying to call getToolkit() to do graphics on the server.
The problem might be that graphics are not on or the DISPLAY variable
is bad.
What are you trying to do, and do you have DISPLAY set to :0.0 and
X running ?
Augusto
___________________________________________________________________________
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