Hi Tim-

client -> streams to ->Servlet 
you can stream the information from the Request via 
HttpServletRequest.getInputStream()
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/index.html

Servlet -> streams to -> client 
you can output to a Stream by using HttpServletResponse.getOutputStream()
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/index.html 

HTH,
M--
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Tim Lucia" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <users@tomcat.apache.org>
Sent: Thursday, March 22, 2007 11:40 AM
Subject: RE: How to run a .exe file from a web application in tomcat


> Tomcat is running on a server, say tomcat.mycompany.com.  The user is
> sitting on their computer, say mypc.othercompany.com.  The two speak http to
> each other.
> 
> Thus, if you want the client (mypc.othercompany.com) to edit a file, you
> must send it from the server (tomcat.mycompany.com) to the client, i.e.,
> download, edit it locally, and then post it back to the server (i.e.,
> upload.)
> 
> HTH,
> Tim
> 
> 
>> -----Original Message-----
>> From: Jitendra Ch [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, March 22, 2007 11:23 AM
>> To: Tomcat Users List
>> Subject: RE: How to run a .exe file from a web application in tomcat
>> 
>> Actually my requirement is like that. The client wants to edit the image
>> file so that he can he can do some changes. and also he wants to edit the
>> control.xml file for these reasons I thought of calling an .exe for
>> Drawing tool, is there any way for that? please help me> Date: Thu, 22 Mar
>> 2007 16:06:24 +0100> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org>
>> Subject: Re: How to run a .exe file from a web application in tomcat> >
>> Jitendra Ch wrote:> > Hi to all        I am new member to this group. I am
>> having some problems in calling an .exe file for example notepad, from a
>> web application using Tomcat.Is it possible to call an .exe file from a
>> web application in Tomcat.> Why do you want remote clients run separate
>> applications on server's > desktop?> > -- > Mikolaj Rydzewski
>> <[EMAIL PROTECTED]>>
>> _________________________________________________________________
>> Search from any Web page with powerful protection. Get the FREE Windows
>> Live Toolbar Today!
>> http://toolbar.live.com/?mkt=en-in
> 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to