Now for the solution to your problem :
if you are using jdk 1.4 :
Set, in your environment :
CATALINA_OPTS=-Djava.awt.headless=true
and restart apache/tomcat
If not 1.4, if you are using an X system (Unix), you need a virtual frame buffer:
do a google("virtual frame buffer" xvt)
I don't know e
AWT by way of a servlet ? AWT is client side, and the codebase for a servlet container
will seldom
be configured with AWT (or Swing). Think about it . What is the "GraphicsEnvironment"
of a
process (Tomcat) which does not have a display ?
The method "getLocalGraphicsEnvironment" returns inform
I now was able to get my servlet to compile but I'm getting the following
error when I try to run it in my IE browser:
Apache Tomcat/4.0.5 - HTTP Status 500 - Internal Server Error
type Exception report
message Inte
That did it. Can you tell I have NEWBIE written all over my face? Thanks,
Kenny
- Original Message -
From: "M. E. Zawadzki" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 30, 2002 9:23 AM
Subject: Re: Example servlet won't compile
&g
The class "HistoryFrame" is not in your classpath.
--- "Kenny G. Dubuisson, Jr." <[EMAIL PROTECTED]> wrote:
> Hello all. I'm trying to get an example servlet from a book ("Professional
> JSP") to compile. When I try to compile it, I get the following error:
>
> g2d_2_jpg.java:38 cannot resolve s