Title: RE: Servlets Rendering to a Frame....

The original question was:

> > > Got that, but what do I do to the jserv.properties file to let it
> > > know that X is up?

I believe the answer is to add the following to JSERV.PROPERTIES:

  wrapper.env=DISPLAY=machine:0

where "machine" is the name of your system.

Jay


-----Original Message-----
From: Greg Lahens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 18, 2000 1:12 PM
To: Java Apache Users; Java Apache Users
Subject: RE: Servlets Rendering to a Frame....


----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

OK. What on earth is this all about? It sounds like you're trying to have a
servlet render graphics to send to a web page or program waiting for the
graphic?  If this is what you are trying to do, then there's no need for X.
X has nothing to do with it at all. Just use the graphics library
(awt.graphics???) to draw into a virtual object then gif encode it then
send the bytes to the response stream...

Other than that, I'm not sure what you're asking. Please be more clear
about the goal you are trying to accomplish, setting, environment, and type
of application...

-Greg

At 10:41 AM 10/18/00 -0700, Bill Volk wrote:
>----------------------------------------------------------------
>BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>WHEN YOU POST, include all relevant version numbers, log files,
>and configuration files.  Don't make us guess your problem!!!
>----------------------------------------------------------------
>
>Server won't run any servlet that does graphics.  I was told that X needed
>to be on and that I needed to pass environmental variables (DISPLAY) into
>the system somehow....
>
>Bill
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Bruno
> > Wenger
> > Sent: Wednesday, October 18, 2000 12:58 AM
> > To: Java Apache Users
> > Subject: AW: Servlets Rendering to a Frame....
>
> > Bill,
> >
> > I am not shure what your problem is.
> > I never cared about X or not because it's hidden in AWT.
> >
> > Regards, Bruno
> >
> >
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]Im Auftrag von Bill Volk
> > > Gesendet: Mittwoch, 18. Oktober 2000 06:36
> > > An: Java Apache Users
> > > Betreff: Servlets Rendering to a Frame....
> > >
> > >
> > > ----------------------------------------------------------------
> > > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > > WHEN YOU POST, include all relevant version numbers, log files,
> > > and configuration files.  Don't make us guess your problem!!!
> > > ----------------------------------------------------------------
> > >
> > > We need to have some servlets generate graphics (Java 2.0) by
> > > drawing into a
> > > Java Frame.
> > >
> > > I understand that you have to have X running to allow servlets to render
> > > graphics.
> > >
> > > Got that, but what do I do to the jserv.properties file to let it
> > > know that
> > > X is up?
> > >
> > > Thanks,
> > >
> > > Bill Volk
> > >
> > >
> > >>
>

Reply via email to