Hi Cristian,
Your servlet may send a message via socket to a process listener
on the same or on a different machine on the network.
The listener will spawn a worker thread and perform the work.
After sending the message, the servlet may exit your doGet
method and wait for new inquires.
Salut,
Ulm
> -----Original Message-----
> From: Cristian Saceanu [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, March 29, 2000 9:20 AM
> To: [EMAIL PROTECTED]
> Subject: CGI with servlets
>
> Hi there,
>
> I have a problem... I'm using a servlet which is called by a cgi script.
> The script sends some parameters to the servlet which is performing some
> operations on them (those operations completion could require some time).
> The script should not wait until the servlet finishes its doGet() method.
> It doesn't require anything from servlet..
>
> When the caller script will consider that its request has been responded ?
> It must wait untill doGet() method returns ?
> It is not enough to close the servlet's OutputStream() for that ?
>
> Some help will be appreciated...
>
> -----------------------------------------------------
> Cristian Saceanu
> WebQuote.com Inc.
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
___________________________________________________________________________
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