I really don't think you can.. I mean as far as i can tell you want to display
graphical content generated on your servlet machine, directly onto a client
machine without going through a web browser. This is impossible in win32
(unless youv'e got an X server of course + your'e server is running UNIX),
possible in X, but as Craig said, you would need permission (via xauth or no
access restrctions on the X server (unlikely)) to access the X server...
If you want to disply GUI content in a browser then you Have to use http, you
coud use applets, ActiveX, java script whatever..
Hope that helps a little.
William.
On Sat, 30 Oct 1999, you wrote:
> John John Tobias wrote:
>
> > Hi All,
> >
> > I hope you don't mind if i'll post this again, i just need your comments,
> > suggestion etc about this matter. I just want to know if the java servlet
> > has any restriction or limitation in inheriting java classes especially the
> > java.awt.*, applet, ... packages? Because i will create an image within the
> > servlet itself and call the class and some methods like this
> > Image image = createImage(MemoryImageSouce(..)), when i compiled there's no
> > error, but when the times i access it the java web server report an error
> > like this
> >
>
> When you are running on a Unix platform, you must have an X-Windows server
> running in order for AWT to work, and the username you are running your
> servlets under must have permissions to connect to it. This is true even if
> you are not displaying anything graphical on the server's console.
>
> For the gory details, you'll have to ask someone else (I haven't yet needed to
> create images dynamically), but this question regularly comes up for both
> servlets and standalone Java applications.
>
> Craig McClanahan
>
> ___________________________________________________________________________
> 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
--
The primary cause of failure in electrical appliances is an expired
warranty. Often, you can get an appliance running again simply by
changing the warranty expiration date with a 15/64-inch felt-tipped
marker.
-- Dave Barry, "The Taming of the Screw"
william:~#
___________________________________________________________________________
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