----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Hello

I don't know too wheter JServ is going to support Servlet API 2.1 or not.
But you could try Tomcat, it's supports Servlet API 2.2 and JSP 1.1. It's
available under:
http://jakarta.apache.org/

It works as Serlvet Container with Apacha but also as standalone Webserver
with Servlet support.
It is the official reference implementation of the newest Servlet API.

Regards

Clemens Viehl

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 15, 2000 11:24 AM
> To: [EMAIL PROTECTED]
> Subject: Calling php3 from Servlets
> 
> 
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
> 
> 
> Hello, i want to call a php3 Programm from a servlet. I want to pass
> parameters
> to the php3 Programm, get the return from that programm and 
> than pass it
> back to the client. I think, that can be done using JSDK2.1. Here some
> quoting
> from
> "Servlet Essentials":
> 
> "A Servlet can make a request to an active resource on the 
> web server just
> like
> a client can (by requesting a URL).
> The Servlet API supports a more direct way of accessing 
> server resources
> from
> within a Servlet which is running in the server
> than opening a socket connection back to the server. A 
> Servlet can either
> hand
> off a request to a different resource or include
> the response which is created by that resource in its own 
> response. It is
> also
> possible to supply user-defined data when calling
>  an active resource which provides for an elegant way of doing
> inter-Servlet
> communication."
> 
> As far as i understand  i can do the following: The client 
> calls my servlet
> the
> servlet then do´s some work,
> calls the php3 Programm (using the URL) and forwards the form 
> Data to the
> php3
> programm. After the
> forwarding my servlet gets the output from the php3 program 
> and then can
> modify
> this output and pass ist back
> to the client. Is this correct? The problem is that i am 
> using JSERV and as
> far
> as i know JSERV only
> supports JSDK2.0! My question: Does somebody know when JSERV 
> will support
> 2.1 or
>  is there another
> sollution calling php3 from a servlet? Or should I use another Servlet
> Engine if
>  yes which one? I am using
> Apache Web Server on Linux.
> 
> Any comments are highly welcome.
> 
> Thomas
> 
> 
> 
> 
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
> 


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to