Yes the URLConnection is a two connection so you can do that.

-----Original Message-----
From: Seema Kumar [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 5:34 PM
To: [EMAIL PROTECTED]
Subject: Invoking a servlet remotely


Hi all,

I need to invoke a servlet remotely through a console application, to spawn a 
particular process on the server. I understand I can do this using the 
URLConnection.openConnection() method. 
However, I also need to know when the process initiated by the server thread is 
complete and show that status on the console.
Will this be possible ? Can the servlet be made to write something on the 
ServletOutputStream, which I can try and read to check the status ?

Please help
Thanks
Seema 

___________________________________________________________________________
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

Reply via email to