Thanks to all for the replies to my problem, but it is still a problem.
Maybe my configuration will provide some more insight.  I am using tomcat
3.2.6. on NT 4.0 (SP6).  The error message I receive is as follows:

javax.servlet.ServletException: no awt in java.library.path
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:390)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
 at org.apache.tomcat.core.Handler.service(Handler.java:263)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:74
9)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:695)
 at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:166)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:403)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:479)

I print out my java.library.path property in the constructor of the class I
am using.  It has D:\jdk1.2.2\jre\1.2\bin in it and there is the awt.dll in
this directory.  From the various responses, I should be able to access the
java.awt.Toolkit based on this configuration.  Any other suggestions would
be greatly appreciated.

Leon

Reply via email to