|
From: Richard H. <r.h...@rl...> - 2006-09-20 10:36:53
|
Hans-Bernhard Bröker wrote: > Nalin Gupta wrote: > >> I wish to learn, is it possible that web server streams some data (X,Y) >> and web browser invoke gnuplot to display this dynamic data > > No. There are very serious security implications that forbid this kind > of setup. > > Running programs in or from your web browser requires completely > different techniques than those used by desktop applications (like > gnuplot). For that kind of job you need Java. > Hi Nalin and Hans-Bernhard, The short answer, as Hans has stated is: NO. The slightly longer answer is: why would you want to do this? there maybe a better way to complete your goal - serverside gnuplot image generation? The longer answer is: Maybe, First, you could configure your webserver to send a customised mime type when your stream is selected by your browser. You could then configure your browser to delegate activity to another application (gnuplot) when it encounters this type. Secondly, there exist scrips which will allow the gnuplot to print from STDIN. You may be able to connect STDIN to the web stream. By achieving these two tasks, you may be able to get the behaviour you have loosely specified. cheers, r, |