[3473] in java-interest
Re: Accessing information from the server side (fwd)
daemon@ATHENA.MIT.EDU (Suresh Payankannur)
Tue Nov 14 06:38:45 1995
From: Suresh Payankannur <suresh@acgeas.com>
To: java-interest@java.sun.com
Date: Mon, 13 Nov 1995 12:45:49 -0800 (PST)
Thanks for the info. Here is the problem
>
> >2. How can I run a CGI script from an applet ?
>
> Why would you want to do this? Well, you would have to mimic the http
> protocol and request the information from the server in that way.
>
> Gary
>
>
I already have some applications with Netscape/CGI combination. I am
planning to incorporate Java applets for certain applications which
cannot be done otherwise. One problem I am facing is to access
the database (an OODB), which has a C++ interface. The current
implementations talk to CGI scripts to access the database. To keep this
uniform, I would like to use the same mechanism for Java applets also, ie to
talk to some CGI scripts which will return the required query results etc,
so that I need not have to change that portion of the existing application.
The requirement is how do I use the applet to run a program
whether in C, Perl or Tcl on the server side and get the results back ?
It will be nice if some way I could tell the server to run a CGI script.
-- suresh --
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com